public function render(IO $io, $indentation = 0)
    {
        if (!$io->isVerbose()) {
            $io->errorLine('fatal: '.$this->exception->getMessage());

            return;
        }

        $exception = $this->exception;

        $this->renderException($io, $exception);

        if ($io->isVeryVerbose()) {
            while ($exception = $exception->getPrevious()) {
                $io->errorLine('Caused by:');

                $this->renderException($io, $exception);
            }
        }
    }
public function render(IO $io, $indentation = 0)
    {
        if (!$io->isVerbose()) {
            $io->errorLine('fatal: '.$this->exception->getMessage());

            return;
        }

        $exception = $this->exception;

        $this->renderException($io, $exception);

        if ($io->isVeryVerbose()) {
            while ($exception = $exception->getPrevious()) {
                $io->errorLine('Caused by:');

                $this->renderException($io, $exception);
            }
        }
    }
public function render ( IO $ io , $ indentation = 0 ) { if ( ! $ io -> isVerbose ( ) ) { $ io -> errorLine ( 'fatal: ' . $ this -> exception -> getMessage ( ) ) ; return ; } $ exception = $ this -> exception ; $ this -> renderException ( $ io , $ exception ) ; if ( $ io -> isVeryVerbose ( ) ) { while ( $ exception = $ exception -> getPrevious ( ) ) { $ io -> errorLine ( 'Caused by:' ) ; $ this -> renderException ( $ io , $ exception ) ; } } }
Renders the exception trace.

@param IO  $io          The I/O.
@param int $indentation The number of spaces to indent.
Renders the exception trace .