src/Log.php
public function exception($exception = null)
    {
        if (!func_num_args()) {
            return $this->_exception;
        }
        $this->_exception = $exception;
        return $this;
    }
public function exception($exception = null)
    {
        if (!func_num_args()) {
            return $this->_exception;
        }
        $this->_exception = $exception;
        return $this;
    }
public function exception ( $ exception = null ) { if ( ! func_num_args ( ) ) { return $ this -> _exception ; } $ this -> _exception = $ exception ; return $ this ; }
Gets the exception related to the report.

@return object
Gets the exception related to the report .