Eva\EvaEngine\Error\CLIErrorHandler::exceptionHandler PHP Метод

exceptionHandler() публичный статический Метод

public static exceptionHandler ( Exception $e ) : mixed | void
$e Exception
Результат mixed | void
    public static function exceptionHandler(\Exception $e)
    {
        $output = new ConsoleOutput();
        $output->writelnError($e->getMessage());
        $output->writelnComment($e->getTraceAsString());
    }