about summary refs log tree commit diff stats
path: root/vendor/nikic/php-parser/lib/PhpParser/ErrorHandler.php
blob: 51ad730c4e979579c3081a2685f46a38c1a63b0a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
<?php declare(strict_types=1);

namespace PhpParser;

interface ErrorHandler {
    /**
     * Handle an error generated during lexing, parsing or some other operation.
     *
     * @param Error $error The error that needs to be handled
     */
    public function handleError(Error $error): void;
}