class ParserException extends Exception

Exception thrown by the parser.

Properties

Token $token The token that produced this error.

Methods

__construct(string $msg = '', Token $token = null, int $code = 0)

Constructor.

Details

at line 34
__construct(string $msg = '', Token $token = null, int $code = 0)

Constructor.

Parameters

string $msg the message of this exception
Token $token the token that produced this exception
int $code the code of this error