/** * Return proxied Throwable previous element. * * @return \Error|\Exception|null */ public final function getPrevious() { return $this->prev !== null ? $this->prev->toThrowable() : $this->prev; }