[#mp_units-utility-throw_policy-on_constraint_violation]
= xref:mp_units.adoc[mp&lowbar;units]::xref:mp_units/utility.adoc[utility]::xref:mp_units/utility/throw_policy.adoc[throw&lowbar;policy]::on&lowbar;constraint&lowbar;violation
:relfileprefix: ../../../
:mrdocs:

== Synopsis

Declared in `&lt;mp&hyphen;units&sol;utility&sol;constrained&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;noreturn&rsqb;&rsqb;
static
void
on&lowbar;constraint&lowbar;violation(std::string&lowbar;view msg);
----

== Return Value

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

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