ROSE
0.11.145.0
|
Base class for YAML exceptions.
Definition at line 148 of file util/Sawyer/Yaml.h.
#include <util/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. More... | |
eType | Type () const |
Get type of exception. More... | |
const char * | Message () const |
Get message of exception. More... | |
Exception types.
Enumerator | |
---|---|
InternalError |
Internal error. |
ParsingError |
Invalid parsing data. |
OperationError |
User operation error. |
Definition at line 151 of file util/Sawyer/Yaml.h.
Sawyer::Yaml::Exception::Exception | ( | const std::string & | message, |
const eType | type | ||
) |
eType Sawyer::Yaml::Exception::Type | ( | ) | const |
Get type of exception.
const char* Sawyer::Yaml::Exception::Message | ( | ) | const |
Get message of exception.