mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
|
Namespace for the internal error reporting functions. More...
Namespace for the internal error reporting functions.
Functions | |
template<class verboseT > | |
std::string | mxlib_error_message (const error_t &code, const std::string &expl, const std::source_location &loc=std::source_location::current()) |
Format a report given an mxlib error_t code and explanation. | |
template<> | |
std::string | 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 | 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 | 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 | 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<class verboseT > | |
std::string | mxlib_error_message (const error_t &code, const std::source_location &loc=std::source_location::current()) |
Format a report given an mxlib error_t code. | |
template<> | |
std::string | 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 | 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 | 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 | mxlib_error_message< verbose::vvv > (const error_t &code, const std::source_location &loc) |
Specialization of mxlib_error_message for verbose::vvv. | |
template<class verboseT > | |
error_t | mxlib_error_report (const error_t &code, const std::string &expl, const std::source_location &loc=std::source_location::current()) |
Print a report to stderr given an mxlib error_t code and explanation and return the code . | |
template<> | |
error_t | 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<class verboseT > | |
error_t | mxlib_error_report (const error_t &code, const std::source_location &loc=std::source_location::current()) |
Print a report to stderr given an mxlib error_t code and return the code . | |
template<> | |
error_t | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | mxlib_error_report< verbose::o > (const error_t &code, const std::source_location &loc) |
Specialization of mxlib_error_report for verbose::o. | |