3 namespace PhpParser\ErrorHandler;
6 use PhpParser\ErrorHandler;
9 * Error handler that handles all errors by throwing them.
11 * This is the default strategy used by all components.
13 class Throwing implements ErrorHandler
15 public function handleError(Error $error) {