Variable mir::fatal_error¶
Defined in File fatal.h
Variable Documentation¶
-
void (*mir::fatal_error)(char const *reason, ...)¶
fatal_error() is strictly for “this should never happen” situations that you cannot recover from.
By default it points at fatal_error_abort(). Note the reason parameter is a simple char* so its value is clearly visible in stack trace output.
Remark
There is no attempt to make this thread-safe, if it needs to be changed that should be done before spinning up the Mir server.
- Param reason:
[in] A printf-style format string.