15 #define CH_DEFAULT_ERROR_CODE 255 Error-reporting Functions.
Definition: MayDay.H:26
static bool s_debugSpew
Definition: MayDay.H:30
static const char *const m_nullString
A null string used as a default argument by the other member functions.
Definition: MayDay.H:46
#define CH_DEFAULT_ERROR_CODE
Definition: MayDay.H:15
static const char *const version
Definition: MayDay.H:42
static void Error(const char *const a_msg=m_nullString, int m_exitCode=CH_DEFAULT_ERROR_CODE)
Print out message to cerr and exit with the specified exit code.
static void Warning(const char *const a_msg=m_nullString)
Print out message to cerr and continue.
static void Abort(const char *const a_msg=m_nullString)
Print out message to cerr and exit via abort() (if serial) or MPI_Abort() (if parallel).