src/Reporter/Terminal.php
protected function _reportException($exception)
    {
        $msg = '`' . get_class($exception) .'` Code(' . $exception->getCode() . ') with ';
        $message = $exception->getMessage();
        if ($message) {
            $msg .= 'message '. Text::dump($exception->getMessage());
        } else {
            $msg .= 'no message';
        }
        $this->write("{$msg}\n\n");
    }
protected function _reportException($exception)
    {
        $msg = '`' . get_class($exception) .'` Code(' . $exception->getCode() . ') with ';
        $message = $exception->getMessage();
        if ($message) {
            $msg .= 'message '. Text::dump($exception->getMessage());
        } else {
            $msg .= 'no message';
        }
        $this->write("{$msg}\n\n");
    }
protected function _reportException ( $ exception ) { $ msg = '`' . get_class ( $ exception ) . '` Code(' . $ exception -> getCode ( ) . ') with ' ; $ message = $ exception -> getMessage ( ) ; if ( $ message ) { $ msg .= 'message ' . Text :: dump ( $ exception -> getMessage ( ) ) ; } else { $ msg .= 'no message' ; } $ this -> write ( "{$msg}\n\n" ) ; }
Print an exception to the outpout.

@param object $exception An exception.
Print an exception to the outpout .