code: public static function createFromPHPError(ErrorException $e)
      {
          return [
              'message'  => $e->getMessage(),
              'severity' => $e->getSeverity(),
              'trace'    => self::toSafeTrace($e),
          ];
      }
docs: @deprecated as of v0.10.0, use general purpose method createFromException() instead
  
  @return mixed[]