std::ostream & operator<<(std::ostream &, const TextException &)
efficiently prints TextException
std::ostream & CurrentExceptionExtra(std::ostream &)
std::ostream & CurrentException(std::ostream &)
prints active (i.e., thrown but not yet handled) exception
an std::runtime_error with thrower location info
SourceLocation where
code location related to the exception; usually the thrower location
~TextException() override
TextException & operator=(const TextException &)=default
const char * what() const override
std::ostream & print(std::ostream &) const
dumps the exception text into the stream
TextException(const char *message, const SourceLocation &location)
TextException(const TextException &)=default
TextException(TextException &&)=default