17 Error(std::string
const & msg
23 extern std::ostream &
msg(
int level);
24 extern std::ostream &
debug;
25 extern std::ostream &
info;
26 extern std::ostream &
warn;
27 void error(std::string
const & m);
void error(std::string const &m)
throw error after error message
std::string esc_str(std::string const &s)
escape a string in a way that when double quoted, recovers original
int msg_level
level below which messages are shown
Error(std::string const &msg)
Create exception with message.
std::ostream & info
ostream informative message
std::ostream & debug
ostream for debugging message
std::ostream & warn
ostream warning message