[#BloombergLP-bsls-Assert-setFailureHandler] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/Assert.adoc[Assert]::setFailureHandler :relfileprefix: ../../../ :mrdocs: Make the specified handler `function` the current assertion‐failure handler. This method has no effect if the `lockAssertAdministration` method has been called. == Synopsis Declared in `<bsls_assert.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void setFailureHandler(xref:BloombergLP/bsls/Assert/Handler.adoc[Assert::Handler] function); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#