protected function _createFromThrowable($e)
    {
        $this->backtrace = $e->getTrace();
        if ($previous = $e->getPrevious()) {
            $backtrace = new self($previous);
            $this->backtrace = array_merge($backtrace->backtrace,
                                           $this->backtrace);
        }
    }
protected function _createFromThrowable($e)
    {
        $this->backtrace = $e->getTrace();
        if ($previous = $e->getPrevious()) {
            $backtrace = new self($previous);
            $this->backtrace = array_merge($backtrace->backtrace,
                                           $this->backtrace);
        }
    }
protected function _createFromThrowable ( $ e ) { $ this -> backtrace = $ e -> getTrace ( ) ; if ( $ previous = $ e -> getPrevious ( ) ) { $ backtrace = new self ( $ previous ) ; $ this -> backtrace = array_merge ( $ backtrace -> backtrace , $ this -> backtrace ) ; } }
Wraps an error object's backtrace.

@todo Merge with createFromThrowable with PHP 7.

@param Throwable $e  The error to wrap.
Wraps an error object s backtrace .