[#absl-OutOfRangeError-05]
= xref:absl.adoc[absl]::OutOfRangeError
:relfileprefix: ../
:mrdocs:

Creates a status with the `kOutOfRange` error code and `message`&period;

== Synopses

Declared in `&lt;absl&sol;status&sol;status&period;h&gt;`

Creates a status with the `kOutOfRange` error code and `message`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:absl/Status.adoc[Status]
xref:absl/OutOfRangeError-0e.adoc[OutOfRangeError](
    std::string&lowbar;view message,
    xref:absl/SourceLocation.adoc[absl::SourceLocation] loc = SourceLocation&colon;&colon;current());
----

[.small]#xref:absl/OutOfRangeError-0e.adoc[_» more&period;&period;&period;_]#

Creates a status with the `kOutOfRange` error code and `message`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename String,
    typename = &sol;&ast; implementation-defined &ast;&sol;::EnableIfString&lt;String&gt;&gt;
xref:absl/Status.adoc[Status]
xref:absl/OutOfRangeError-06.adoc[OutOfRangeError](
    String&& message,
    xref:absl/SourceLocation.adoc[absl::SourceLocation] loc = SourceLocation&colon;&colon;current());
----

[.small]#xref:absl/OutOfRangeError-06.adoc[_» more&period;&period;&period;_]#

== Return Value

A status with the `kOutOfRange` error code&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *message*
| The error message&period;
| *loc*
| The source location of the callsite&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
