| 1 | <?php |
||
| 7 | class Exception extends \Exception |
||
| 8 | { |
||
| 9 | /** @var ResponseInterface */ |
||
| 10 | private $response = null; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * Exception constructor. |
||
| 14 | * @param string $message |
||
| 15 | * @param ResponseInterface $response |
||
| 16 | * @param int $code |
||
| 17 | * @param Exception|null $previous |
||
| 18 | */ |
||
| 19 | public function __construct($message, ResponseInterface $response, $code = 0, Exception $previous = null) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @return ResponseInterface |
||
| 27 | */ |
||
| 28 | public function getResponse() |
||
| 32 | } |
||
| 33 |