[#absl-InvalidArgumentError-0b] = xref:absl.adoc[absl]::InvalidArgumentError :relfileprefix: ../ :mrdocs: Creates a status with the `kInvalidArgument` error code and `message`. == Synopses Declared in `<absl/status/status.h>` Creates a status with the `kInvalidArgument` error code and `message`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:absl/Status.adoc[Status] xref:absl/InvalidArgumentError-06.adoc[InvalidArgumentError]( std::string_view message, xref:absl/SourceLocation.adoc[absl::SourceLocation] loc = SourceLocation::current()); ---- [.small]#xref:absl/InvalidArgumentError-06.adoc[_» more..._]# Creates a status with the `kInvalidArgument` error code and `message`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename String, typename = /* implementation-defined */::EnableIfString<String>> xref:absl/Status.adoc[Status] xref:absl/InvalidArgumentError-07.adoc[InvalidArgumentError]( String&& message, xref:absl/SourceLocation.adoc[absl::SourceLocation] loc = SourceLocation::current()); ---- [.small]#xref:absl/InvalidArgumentError-07.adoc[_» more..._]# == Return Value A status with the `kInvalidArgument` error code. == Parameters [cols="1,4"] |=== | Name| Description | *message* | The error message. | *loc* | The source location of the callsite. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#