1 | <?php |
||
11 | class ApiError extends AbstractApiResponse |
||
12 | { |
||
13 | |||
14 | /** @var string[] */ |
||
15 | private $errors; |
||
16 | |||
17 | /** |
||
18 | * @param string|string[] $errors |
||
19 | * @param int $httpCode |
||
20 | */ |
||
21 | 18 | public function __construct($errors, int $httpCode) |
|
26 | |||
27 | /** |
||
28 | * @return string[] |
||
29 | */ |
||
30 | public function getErrors(): array |
||
34 | } |
||
35 |