mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 12:41:17 +00:00

We're now using exceptions for errors, and scanning/pushing tokens is exception-safe (using a set of "limbo tokens").
15 lines
334 B
C++
15 lines
334 B
C++
#pragma once
|
|
|
|
#include <exception>
|
|
|
|
namespace YAML
|
|
{
|
|
class Exception: public std::exception {};
|
|
|
|
class UnknownToken: public Exception {};
|
|
class IllegalBlockEntry: public Exception {};
|
|
class IllegalMapKey: public Exception {};
|
|
class IllegalMapValue: public Exception {};
|
|
class IllegalScalar: public Exception {};
|
|
}
|