Class ParseException
A parse exception with positional information.
-
Exception
implements
Throwable
-
RuntimeException
-
Parco\ParseException
implements
Parco\Positional
uses
Parco\Position
Methods summary
public
|
#
__construct( Parco\Result $result, Exception $previous = null )
Construct parse exception from a parse result.
Construct parse exception from a parse result.
Parameters
- $result
- Parse result.
- $previous
- Previous exception if any.
Overrides
Exception::__construct()
|
Methods inherited from Exception
__toString(),
__wakeup(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()
|
Properties inherited from Exception
$code,
$file,
$line,
$message
|