ErrorHandler.php 300 B

123456789101112
  1. <?php declare(strict_types=1);
  2. namespace PhpParser;
  3. interface ErrorHandler {
  4. /**
  5. * Handle an error generated during lexing, parsing or some other operation.
  6. *
  7. * @param Error $error The error that needs to be handled
  8. */
  9. public function handleError(Error $error): void;
  10. }