[#absl-ThrowStdLengthError-03]
= xref:absl.adoc[absl]::ThrowStdLengthError
:relfileprefix: ../
:mrdocs:

Throws a `std&colon;&colon;length&lowbar;error` with the given message, or terminates if exceptions are disabled&period;

== Synopses

Declared in `&lt;absl&sol;base&sol;throw&lowbar;delegate&period;h&gt;`

Throws a `std&colon;&colon;length&lowbar;error` with the given message, or terminates if exceptions are disabled&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;noreturn&rsqb;&rsqb;
void
xref:absl/ThrowStdLengthError-05.adoc[ThrowStdLengthError](std::string const& what&lowbar;arg);
----

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

Throws a `std&colon;&colon;length&lowbar;error` with the given message, or terminates if exceptions are disabled&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;noreturn&rsqb;&rsqb;
void
xref:absl/ThrowStdLengthError-0d.adoc[ThrowStdLengthError](char const* what&lowbar;arg);
----

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

== Return Value

[NOTE]
====
This function https://en.cppreference.com/cpp/language/attributes/noreturn[does not return^].
====
== Parameters

[cols="1,4"]
|===
| Name| Description
| *what&lowbar;arg*
| The exception message&period;
|===


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