public function toThrowable()
    {
        $class = $this->class;
        $prev  = $this->prev !== null ? $this->prev->toThrowable() : $this->prev;

        return new $class($this->message, 0, $prev);
    }
public function toThrowable()
    {
        $class = $this->class;
        $prev  = $this->prev !== null ? $this->prev->toThrowable() : $this->prev;

        return new $class($this->message, 0, $prev);
    }
public function toThrowable ( ) { $ class = $ this -> class ; $ prev = $ this -> prev !== null ? $ this -> prev -> toThrowable ( ) : $ this -> prev ; return new $ class ( $ this -> message , 0 , $ prev ) ; }
Return proxied Throwable.

@return \Error|\Exception
Return proxied Throwable .