mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
|
Function definitions for the mxlib error reporting system. More...
Function definitions for the mxlib error reporting system.
Definition in file mxError.cpp.
Go to the source code of this file.
Namespaces | |
namespace | mx |
The mxlib c++ namespace. | |
namespace | mx::internal |
Namespace for the internal error reporting functions. | |
Functions | |
std::string | mx::MXE_CodeToName (int ec) |
Return the name for an mxlib error code. | |
std::string | mx::MXE_CodeToDescription (int ec) |
Return the description for an mxlib error code. | |
std::string | mx::errno_CodeToName (int ec) |
Return the macro name and a message for a standard errno code. | |
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. | |
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. | |
template<> | |
std::string | mx::internal::mxlib_error_message< verbose::o > (const error_t &code, const std::string &expl, const std::source_location &loc) |
Specialization of mxlib_error_message for verbose::o. | |
template<> | |
std::string | mx::internal::mxlib_error_message< verbose::v > (const error_t &code, const std::string &expl, const std::source_location &loc) |
Specialization of mxlib_error_message for verbose::v. | |
template<> | |
std::string | mx::internal::mxlib_error_message< verbose::vv > (const error_t &code, const std::string &expl, const std::source_location &loc) |
Specialization of mxlib_error_message for verbose::vv. | |
template<> | |
std::string | mx::internal::mxlib_error_message< verbose::vvv > (const error_t &code, const std::string &expl, const std::source_location &loc) |
Specialization of mxlib_error_message for verbose::vvv. | |
template<> | |
std::string | mx::internal::mxlib_error_message< verbose::o > (const error_t &code, const std::source_location &loc) |
Specialization of mxlib_error_message for verbose::o. | |
template<> | |
std::string | mx::internal::mxlib_error_message< verbose::v > (const error_t &code, const std::source_location &loc) |
Specialization of mxlib_error_message for verbose::v. | |
template<> | |
std::string | mx::internal::mxlib_error_message< verbose::vv > (const error_t &code, const std::source_location &loc) |
Specialization of mxlib_error_message for verbose::vv. | |
template<> | |
std::string | mx::internal::mxlib_error_message< verbose::vvv > (const error_t &code, const std::source_location &loc) |
Specialization of mxlib_error_message for verbose::vvv. | |
template<> | |
error_t | mx::internal::mxlib_error_report< verbose::o > (const error_t &code, const std::string &expl, const std::source_location &loc) |
Specialization of mxlib_error_report for verbose::o. | |
template<> | |
error_t | mx::internal::mxlib_error_report< verbose::o > (const error_t &code, const std::source_location &loc) |
Specialization of mxlib_error_report for verbose::o. | |
template<> | |
std::string | mx::error_message< verbose::o > (const error_t &code, const std::string &expl, const std::source_location &loc) |
Specialization of error_message for verbose::o. | |
template<> | |
std::string | mx::error_message< verbose::v > (const error_t &code, const std::string &expl, const std::source_location &loc) |
Specialization of error_message for verbose::v. | |
template<> | |
std::string | mx::error_message< verbose::vv > (const error_t &code, const std::string &expl, const std::source_location &loc) |
Specialization of error_message for verbose::vv. | |
template<> | |
std::string | mx::error_message< verbose::vvv > (const error_t &code, const std::string &expl, const std::source_location &loc) |
Specialization of error_message for verbose::vvv. | |
template<> | |
std::string | mx::error_message< verbose::o > (const error_t &code, const std::source_location &loc) |
Specialization of error_message for verbose::o. | |
template<> | |
std::string | mx::error_message< verbose::v > (const error_t &code, const std::source_location &loc) |
Specialization of error_message for verbose::v. | |
template<> | |
std::string | mx::error_message< verbose::vv > (const error_t &code, const std::source_location &loc) |
Specialization of error_message for verbose::vv. | |
template<> | |
std::string | mx::error_message< verbose::vvv > (const error_t &code, const std::source_location &loc) |
Specialization of error_message for verbose::vvv. | |
template<> | |
error_t | mx::error_report< verbose::o > (const error_t &code, const std::string &expl, const std::source_location &loc) |
Specialization of error_report for verbose::o. | |
template<> | |
error_t | mx::error_report< verbose::o > (const error_t &code, const std::source_location &loc) |
Specialization of error_report for verbose::o. | |