 |
Gorgon Game Engine
|
Go to the documentation of this file.
7 namespace Gorgon {
namespace String {
15 ParseError(
int code=0,
const std::string &what=
"Parse error") :
16 std::runtime_error(what),
Code(code) {
28 IllegalTokenError(
size_t location=0,
int code=1000,
const std::string &what=
"Illegal token") :
This error will be thrown if a parsing function encounters with an illegal token.
Definition: Exceptions.h:25
size_t Location
Location of the illegal token in the string.
Definition: Exceptions.h:33
Root namespace for Gorgon Game Engine.
Definition: Any.h:19
This error will be thrown if a parsing function encounters with a general error.
Definition: Exceptions.h:10
int Code
Error code.
Definition: Exceptions.h:20
IllegalTokenError(size_t location=0, int code=1000, const std::string &what="Illegal token")
Constructor.
Definition: Exceptions.h:28
ParseError(int code=0, const std::string &what="Parse error")
Constructs a new parse error.
Definition: Exceptions.h:15