File "Throwing.php"

Full Path: /home/fahu5438/labouseuse.fr/wp-content/plugins/wp-console/vendor/nikic/php-parser/lib/PhpParser/ErrorHandler/Throwing.php
File size: 336 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace PhpParser\ErrorHandler;

use PhpParser\Error;
use PhpParser\ErrorHandler;

/**
 * Error handler that handles all errors by throwing them.
 *
 * This is the default strategy used by all components.
 */
class Throwing implements ErrorHandler
{
    public function handleError(Error $error) {
        throw $error;
    }
}