mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
mxError.cpp File Reference

Function definitions for the mxlib error reporting system. More...

Function definitions for the mxlib error reporting system.

Author
Jared R. Males (jared.nosp@m.male.nosp@m.s@gma.nosp@m.il.c.nosp@m.om)

Definition in file mxError.cpp.

Go to the source code of this file.

Namespaces

 mx
 The mxlib c++ namespace.
 

Functions

std::string mx::MXE_CodeToName (int ec)
 Return the name for an mxlib error code. More...
 
std::string mx::MXE_CodeToDescription (int ec)
 Return the description for an mxlib error code. More...
 
std::string mx::errno_CodeToName (int ec)
 Return the macro name and a message for a standard errno code. More...
 
std::string mx::error_report (const std::string &source, const int &code, const std::string &file, const int &line, const std::string &expl="")
 Construct a rich error report given an mxlib error code. More...
 
std::string mx::errno_report (const std::string &source, int ec, const std::string &file, const int &line, const std::string &expl="")
 Construct a rich error report given a standard errno error code. More...