protected function exceptionArray()
    {
        $exceptionArray = [$this->exceptionObject()];
        $previous = $this->previous;
        while ($previous) {
            $exceptionArray[] = $previous->exceptionObject();
            $previous = $previous->previous;
        }

        return $this->cleanupObj($exceptionArray, false);
    }
protected function exceptionArray()
    {
        $exceptionArray = [$this->exceptionObject()];
        $previous = $this->previous;
        while ($previous) {
            $exceptionArray[] = $previous->exceptionObject();
            $previous = $previous->previous;
        }

        return $this->cleanupObj($exceptionArray, false);
    }
protected function exceptionArray ( ) { $ exceptionArray = [ $ this -> exceptionObject ( ) ] ; $ previous = $ this -> previous ; while ( $ previous ) { $ exceptionArray [ ] = $ previous -> exceptionObject ( ) ; $ previous = $ previous -> previous ; } return $ this -> cleanupObj ( $ exceptionArray , false ) ; }
Get the exception array.

@return array
Get the exception array .