\PhpParser\ErrorHandlerThrowing

Error handler that handles all errors by throwing them.

This is the default strategy used by all components.

Summary

Methods
Properties
Constants
handleError()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

handleError()

handleError(\PhpParser\Error  $error) 

Handle an error generated during lexing, parsing or some other operation.

Parameters

\PhpParser\Error $error

The error that needs to be handled