3 #include "../io/ansiescapecodes.h" 20 : m_what(
"unspecified parsing exception")
46 return m_what.c_str();
56 return o << Phrases::Error <<
"Unable to parse arguments: " << TextAttribute::Reset << failure.
what() <<
"\nSee --help for available commands." Encapsulates functions for formatted terminal output using ANSI escape codes.
virtual const char * what() const USE_NOTHROW
Returns a C-style character string describing the cause of the Failure.
Contains currently only ArgumentParser and related classes.
#define USE_NOTHROW
Marks a function as never throwing, under no circumstances.
The Failure class is thrown by an ArgumentParser when a parsing error occurs.
~Failure() USE_NOTHROW
Destroys the Failure.
Failure()
Constructs a new Failure.
CPP_UTILITIES_EXPORT std::ostream & operator<<(std::ostream &out, Indentation indentation)