10 char const *
function,
char const *
file,
long line)
15 ss <<
"WireCell::AssertionError: \"" << expr <<
"\" in " <<
function <<
" " << file <<
":" <<
line;
void msg(const char *fmt,...)
boost::error_info< struct tag_errmsg, std::string > errmsg
void log(const char *argv0)
void critical(const char *fmt, const Args &...args)
void assertion_failed_msg(char const *expr, char const *msg, char const *function, char const *file, long line)
void add_stderr(bool color=true, std::string level="")
void add_file(std::string filename, std::string level="")
void assertion_failed(char const *expr, char const *function, char const *file, long line)
Thrown when an assertion fails.