summaryrefslogtreecommitdiff
path: root/vendor/nikic/php-parser/lib/PhpParser/ErrorHandler.php
blob: d620e7453606fe97da8dd13abba3abfff54252e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?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);
}