public
handleError(Error $error): void
Handle an error generated during lexing, parsing or some other operation.
The error that needs to be handled
PhpParser\ErrorHandler\Throwing::handleError()
PhpParser\ErrorHandler\Collecting::handleError()