| 1 | <?php |
||
| 13 | class ErrorResponse extends AbstractApiResponse |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var \Exception |
||
| 17 | */ |
||
| 18 | private $exception; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | private $message; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * ErrorResponse constructor. |
||
| 27 | * @param ResponseInterface $response |
||
| 28 | * @param ClientRequestInterface $request |
||
| 29 | * @param \Exception $exception |
||
| 30 | * @param Context $context |
||
| 31 | */ |
||
| 32 | 81 | public function __construct( |
|
| 41 | |||
| 42 | 61 | public function isError() |
|
| 46 | |||
| 47 | 2 | public function getMessage() |
|
| 55 | } |
||
| 56 |