| Total Complexity | 2 | 
| Total Lines | 13 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 9 | class MalformedPayloadException extends AbstractApiException  | 
            ||
| 10 | { | 
            ||
| 11 | public const ERROR_CODE = 422;  | 
            ||
| 12 | public const ERROR_MESSAGE = "Malformed request payload";  | 
            ||
| 13 | |||
| 14 | public function __construct($message = "", $code = 0, ?Throwable $previous = null, protected ?array $errors = [])  | 
            ||
| 17 | }  | 
            ||
| 18 | |||
| 19 | public function getErrors(): ?array  | 
            ||
| 24 |