Alias for the pre‐throw hook function pointer type.
Synopsis
Declared in <bslstl_stdexceptutil.h>
typedef void(* PreThrowHook)(char const*, char const*);
Description
This is the type of function pointer that can be set. One such static function pointer exists for each exception type supported by this component. Functions called to throw exceptions examine their respective pointer, and if it's non‐null, call it and then throw after it returns. Note that it is recommended that the hook function log a greppable statement such as "About to throw <exceptionName>".
Created with MrDocs