| 1 | <?php |
||
| 9 | final class UnprocessableEntityException extends Exception implements IzettleApiException |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var string|null |
||
| 13 | */ |
||
| 14 | private $errorType; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var array|null |
||
| 18 | */ |
||
| 19 | private $violations; |
||
| 20 | |||
| 21 | public function __construct(string $json) |
||
| 31 | |||
| 32 | public function getErrorType(): ?string |
||
| 36 | |||
| 37 | public function getViolations(): ?array |
||
| 41 | } |
||
| 42 |