[#BloombergLP-bslstl-StdExceptUtil-setLogicErrorHook]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/StdExceptUtil.adoc[StdExceptUtil]::setLogicErrorHook
:relfileprefix: ../../../
:mrdocs:

Set the pre&hyphen;throw hook for `std&colon;&colon;logic&lowbar;error` to the specified `hook`&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;stdexceptutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
setLogicErrorHook(xref:BloombergLP/bslstl/StdExceptUtil/PreThrowHook.adoc[PreThrowHook] hook);
----


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