![]() |
Gorgon Game Engine
|
This error will be thrown if a parsing function encounters with a general error. More...
Public Member Functions | |
ParseError (int code=0, const std::string &what="Parse error") | |
Constructs a new parse error. More... | |
Public Attributes | |
int | Code |
Error code. More... | |
This error will be thrown if a parsing function encounters with a general error.
ParseError | ( | int | code = 0 , |
const std::string & | what = "Parse error" |
||
) |
Constructs a new parse error.
Parse error codes should be between 0 and 999 with object id in front. For instance an object id of 11 should throw parse error 5 with code 110005
int Code |
Error code.