Skip to content

Latest commit

 

History

History
77 lines (46 loc) · 1.16 KB

ParseError.md

File metadata and controls

77 lines (46 loc) · 1.16 KB

ParseError

class ParseError

Inherited from: Error.

Required header: <Eclog/Error.h>

The ParseError class defines a type of error object that reports parse errors.

Member functions

Name Description
line Returns the line number the parse error occurs.
column Returns the column number the parse error occurs.
error Returns the parse error code.
id Returns the identifier of this class.

line

int line() const;

Returns the line number the parse error occurs.

Return value

int The line number the parse error occurs.


column

int column() const;

Returns the column number the parse error occurs.

Return value

int The column number the parse error occurs.


error

ParseErrorEnum error() const

Returns the parse error code.

Return value

ParseErrorEnum The parse error code.


id

static const ErrorId& id();

Returns the identifier of this class.

Return value

ErrorId& Reference to the identifier.