| Total Complexity | 3 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | final class ApiException extends RequestException |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var int|null |
||
| 14 | */ |
||
| 15 | private $errorCode; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var string|null |
||
| 19 | */ |
||
| 20 | private $errorMessage; |
||
| 21 | |||
| 22 | public function __construct(RequestInterface $request, ResponseInterface $response, int $statusCode, int $errorCode, string $errorMessage) |
||
| 28 | } |
||
| 29 | |||
| 30 | public function getErrorCode(): ?int |
||
| 33 | } |
||
| 34 | |||
| 35 | public function getErrorMessage(): ?string |
||
| 40 |