| 1 | <?php declare(strict_types = 1); |
||
| 14 | class ApiResponseErrorException extends \Exception |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var \stdClass |
||
| 18 | */ |
||
| 19 | private $data; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | private $content; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param string $content |
||
| 28 | * @param \stdClass $data |
||
| 29 | * @param int $httpStatusCode |
||
| 30 | */ |
||
| 31 | public function __construct(string $content, \stdClass $data, int $httpStatusCode) |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @return string |
||
| 54 | */ |
||
| 55 | public function getContent(): string |
||
| 59 | |||
| 60 | /** |
||
| 61 | * @return \stdClass |
||
| 62 | */ |
||
| 63 | public function getData(): \stdClass |
||
| 67 | } |
||
| 68 |