SqlParser\Exceptions\ParserException::__construct PHP Method

__construct() public method

Constructor.
public __construct ( string $msg = '', Token $token = null, integer $code )
$msg string The message of this exception.
$token SqlParser\Token The token that produced this exception.
$code integer The code of this error.
    public function __construct($msg = '', Token $token = null, $code = 0)
    {
        parent::__construct($msg, $code);
        $this->token = $token;
    }
ParserException