Set the pre-throw hook for std::domain_error to the specified hook.
std::domain_error
hook
Declared in <bslstl_stdexceptutil.h>
<bslstl_stdexceptutil.h>
static void setDomainErrorHook(PreThrowHook hook);