FatalError Class Reference
|
Ratpac-two
|
FatalError Class Reference
#include <FatalError.hh>
Detailed Description
Exception thrown by Log::Die() and a failed Log::Assert().
Throwing (rather than calling std::exit) lets the C++ stack unwind so destructors run, and allows a hosting interpreter such as ROOT's Cling to catch the error and return to its prompt instead of killing the interactive session. Batch executables should catch this in main() and return return_code so the process exit code is preserved.
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/core/include/RAT/FatalError.hh
Generated by