SUNphi  1.0
SUNphi::Crasher Class Reference

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.
 
CrasherprintStdLibErr ()
 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.
 

Detailed Description

Keep all the information to crash.

Definition at line 17 of file Crash.hpp.


The documentation for this class was generated from the following file: