think\exception\Handle::renderForConsole PHP Метод

renderForConsole() публичный Метод

public renderForConsole ( Output $output, Exception $e )
$output think\console\Output
$e Exception
    public function renderForConsole(Output $output, Exception $e)
    {
        if (App::$debug) {
            $output->setVerbosity(Output::VERBOSITY_DEBUG);
        }
        $output->renderException($e);
    }