ROSE 0.11.145.192
|
Base class for YAML exceptions.
Definition at line 148 of file Sawyer/Yaml.h.
#include <Sawyer/Yaml.h>
Public Types | |
enum | eType { InternalError , ParsingError , OperationError } |
Exception types. More... | |
Public Member Functions | |
Exception (const std::string &message, const eType type) | |
Constructor. | |
eType | Type () const |
Get type of exception. | |
const char * | Message () const |
Get message of exception. | |
Exception types.
Enumerator | |
---|---|
InternalError | Internal error. |
ParsingError | Invalid parsing data. |
OperationError | User operation error. |
Definition at line 151 of file Sawyer/Yaml.h.
Sawyer::Yaml::Exception::Exception | ( | const std::string & | message, |
const eType | type | ||
) |