|
NSUNI/NSLAR Library a250670
|
Provides functions to set up the callback for fatal library errors. More...
Functions | |
| void | nnl::SetGlobalPanicCB (PanicFun callback) noexcept |
| Sets the global callback for fatal library errors. | |
Provides functions to set up the callback for fatal library errors.
|
noexcept |
Sets the global callback for fatal library errors.
This callback is invoked by nnl::Panic() whenever the library encounters an unrecoverable state. This occurs in two cases:
| callback | The function to be executed for custom error reporting or cleanup before the process terminates. |