ROSE 0.11.145.147
Public Types | Public Member Functions | List of all members
Sawyer::Yaml::Exception Class Reference

Description

Base class for YAML exceptions.

Definition at line 148 of file Sawyer/Yaml.h.

#include <Sawyer/Yaml.h>

Inheritance diagram for Sawyer::Yaml::Exception:
Inheritance graph
[legend]
Collaboration diagram for Sawyer::Yaml::Exception:
Collaboration graph
[legend]

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.
 

Member Enumeration Documentation

◆ eType

Exception types.

Enumerator
InternalError 

Internal error.

ParsingError 

Invalid parsing data.

OperationError 

User operation error.

Definition at line 151 of file Sawyer/Yaml.h.

Constructor & Destructor Documentation

◆ Exception()

Sawyer::Yaml::Exception::Exception ( const std::string &  message,
const eType  type 
)

Constructor.

Parameters
messageException message.
typeType of exception.

The documentation for this class was generated from the following file: