SUNphi
1.0
|
Keep all the information to crash. More...
#include <Crash.hpp>
Public Member Functions | |
Crasher (const char *path, const int line, const char *funcName) | |
Creates the crasher. | |
const char * | getPath () const |
Returns the path. | |
const int | getLine () const |
Returns the line. | |
const char * | getFuncName () const |
Returns the function name. | |
const int | getErrNo () const |
Returns the standard library error. | |
Crasher & | printStdLibErr () |
Store the stdlib error. | |
Private Attributes | |
const char * | path |
File where the crash happened. | |
const int | line |
Line number where the crash happened. | |
const char * | funcName |
Function where the crash happened. | |
int | errNo {-1} |
Error from standard error library. | |