![]() |
TrinityCore
|
This file contains definitions of functions used for reporting critical application errors. More...
Namespaces | |
Trinity | |
Functions | |
void | Trinity::Assert (char const *file, int line, char const *function, char const *message) |
void | Trinity::Assert (char const *file, int line, char const *function, char const *message, char const *format,...) |
void | Trinity::Fatal (char const *file, int line, char const *function, char const *message,...) |
void | Trinity::Error (char const *file, int line, char const *function, char const *message) |
void | Trinity::Warning (char const *file, int line, char const *function, char const *message) |
void | Trinity::Abort (char const *file, int line, char const *function) |
void | Trinity::AbortHandler (int) |
This file contains definitions of functions used for reporting critical application errors.
It is very important that (std::)abort is NEVER called in place of *((volatile int*)NULL) = 0; Calling abort() on Windows does not invoke unhandled exception filters - a mechanism used by WheatyExceptionReport to log crashes. exit(1) calls here are for static analysis tools to indicate that calling functions defined in this file terminates the application.