Gorgon Game Engine
ParseError Class Reference

This error will be thrown if a parsing function encounters with a general error. More...

Inheritance diagram for ParseError:
[legend]

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...
 

Detailed Description

This error will be thrown if a parsing function encounters with a general error.

Constructor & Destructor Documentation

◆ ParseError()

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

Member Data Documentation

◆ Code

int Code

Error code.


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