ParseException

ParseException

class ParseException extends RuntimeException

Exception class thrown when an error occurs during parsing.

Methods

__construct(string $message, int $parsedLine = -1, string|null $snippet = null, string|null $parsedFile = null, Exception $previous = null)

Constructor.

string getSnippet()

Gets the snippet of code near the error.

setS