Base class for exceptions related to invalid source code. More...
#include <exceptions.h>
Public Member Functions | |
const std::string & | message () const |
virtual const char * | what () const noexcept |
virtual void | PrettyPrint (Bytestream &, size_t indent=0) const override |
Print a human-readable representation to an output stream and return that output stream. | |
Public Member Functions inherited from fabrique::HasSource | |
HasSource (const SourceRange &src) | |
const SourceRange & | source () const |
Public Member Functions inherited from fabrique::Printable | |
Printable (const Printable &) | |
Printable & | operator= (const Printable &) |
virtual std::string | str () const |
Protected Member Functions | |
SourceCodeException (const std::string &message, const SourceRange &) | |
SourceCodeException (const SourceCodeException &) | |
Base class for exceptions related to invalid source code.
Definition at line 111 of file exceptions.h.