Laravel\Lumen\Exceptions\Handler::renderForConsole PHP Method

renderForConsole() public method

Render an exception to the console.
public renderForConsole ( Symfony\Component\Console\Output\OutputInterface $output, Exception $e ) : void
$output Symfony\Component\Console\Output\OutputInterface
$e Exception
return void
    public function renderForConsole($output, Exception $e)
    {
        (new ConsoleApplication())->renderException($e, $output);
    }