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

XmlParseException.php

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


01  <?php
02   
03  namespace GuzzleHttp\Exception;
04   
05  use GuzzleHttp\Message\ResponseInterface;
06   
07  /**
08   * Exception when a client is unable to parse the response body as XML
09   */
10  class XmlParseException extends ParseException
11  {
12      /** @var \LibXMLError */
13      protected $error;
14   
15      public function __construct(
16          $message = '',
17          ResponseInterface $response = null,
18          \Exception $previous = null,
19          \LibXMLError $error = null
20      ) {
21          parent::__construct($message, $response, $previous);
22          $this->error = $error;
23      }
24   
25      /**
26       * Get the associated error
27       *
28       * @return \LibXMLError|null
29       */
30      public function getError()
31      {
32          return $this->error;
33      }
34  }
35