Verzeichnisstruktur phpBB-3.2.0


Veröffentlicht
06.01.2017

So funktioniert es


Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück

Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis.
Auf den Verzeichnisnamen klicken, dies zeigt nur das Verzeichnis mit Inhalt an

      (Beispiel Datei-Icons)

Auf das Icon klicken um den Quellcode anzuzeigen

ErrorEvent.php

Zuletzt modifiziert: 09.10.2024, 12:57 - Dateigröße: 676.00 Bytes


 01  <?php
 02  namespace GuzzleHttp\Event;
 03   
 04  use GuzzleHttp\Exception\RequestException;
 05   
 06  /**
 07   * Event emitted when an error occurs while sending a request.
 08   *
 09   * This event MAY be emitted multiple times. You MAY intercept the exception
 10   * and inject a response into the event to rescue the request using the
 11   * intercept() method of the event.
 12   *
 13   * This event allows the request to be retried using the "retry" method of the
 14   * event.
 15   */
 16  class ErrorEvent extends AbstractRetryableEvent
 17  {
 18      /**
 19       * Get the exception that was encountered
 20       *
 21       * @return RequestException
 22       */
 23      public function getException()
 24      {
 25          return $this->transaction->exception;
 26      }
 27  }
 28