| @@ 27-33 (lines=7) @@ | ||
| 24 | parent::__construct($message); |
|
| 25 | } |
|
| 26 | ||
| 27 | public function __toString() |
|
| 28 | { |
|
| 29 | return '[' . get_class($this) . '] ' . $this->message . "\n" . |
|
| 30 | 'Response: ' . "\n" . |
|
| 31 | $this->response |
|
| 32 | ; |
|
| 33 | } |
|
| 34 | ||
| 35 | /** |
|
| 36 | * @return string |
|
| @@ 22-28 (lines=7) @@ | ||
| 19 | } |
|
| 20 | } |
|
| 21 | ||
| 22 | public function __toString() |
|
| 23 | { |
|
| 24 | return '[' . get_class($this) . '] ' . $this->message . "\n" . |
|
| 25 | 'Response: ' . "\n" . |
|
| 26 | $this->response |
|
| 27 | ; |
|
| 28 | } |
|
| 29 | ||
| 30 | private function decodeXmlError(\LibXMLError $error, $xml) |
|
| 31 | { |
|