think\console\Output::renderException PHP Метод

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

public renderException ( Exception $e )
$e Exception
    public function renderException(\Exception $e)
    {
        $this->handle->renderException($e);
    }

Usage Example

Пример #1
0
 /**
  * @param Output    $output
  * @param Exception $e
  */
 public function renderForConsole(Output $output, Exception $e)
 {
     if (App::$debug) {
         $output->setVerbosity(Output::VERBOSITY_DEBUG);
     }
     $output->renderException($e);
 }
All Usage Examples Of think\console\Output::renderException