Eva\EvaEngine\Error\CLIErrorHandler::exceptionHandler PHP Method

exceptionHandler() public static method

public static exceptionHandler ( Exception $e ) : mixed | void
$e Exception
return mixed | void
    public static function exceptionHandler(\Exception $e)
    {
        $output = new ConsoleOutput();
        $output->writelnError($e->getMessage());
        $output->writelnComment($e->getTraceAsString());
    }