[#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); ---- == Parameters [cols="1,4"] |=== | Name| Description | *function* | legacy failure handler to install |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#