TextException.cc
Go to the documentation of this file.
TextException(const char *message, const SourceLocation &location)
Definition: TextException.h:23
std::unordered_multimap< const void *, WhatString > WhatStrings
a collection of strings indexed by pointers to their creator objects
Definition: TextException.cc:21
SourceLocation where
code location related to the exception; usually the thrower location
Definition: TextException.h:45
std::ostream & CurrentException(std::ostream &os)
prints active (i.e., thrown but not yet handled) exception
Definition: TextException.cc:62
std::ostream & print(std::ostream &) const
dumps the exception text into the stream
Definition: TextException.cc:37
static std::ostream & Extra(std::ostream &os)
prefixes each grouped debugs() line after the first one in the group
Definition: Debug.h:104
static WhatStrings * WhatStrings_
requested what() strings of alive TextException objects
Definition: TextException.cc:24
std::runtime_error WhatString
a standard CoW string; avoids noise and circular dependencies of SBuf
Definition: TextException.cc:18