101, 'validationFailed' => 102, 'authFailed' => 117, 'apiAuthFailed' => 119, 'methodNotAllowed' => 150, 'wrongTimeStamp' => 151, 'missingParameter' => 400, 'authorizationException' => 403, 'throttleRequestsException' => 429 ]; } /** * Libellés des possibilités de cet énumération (label) * * @return array */ public static function labels(): array { return [ 'modelNotFound' => '%s introuvable.', 'validationFailed' => 'Impossible de valider les données', 'authFailed' => 'Echec de l\'authentification du compte', 'apiAuthFailed' => 'Echec de l\'authentification client à l\'Api DAM', 'methodNotAllowed' => 'This method is not allowed for this request', 'wrongTimeStamp' => 'Your request is malformed, please check timestamp header and parameter', 'missingParameter' => 'The request is missing some parameters', 'authorizationException' => 'You are not autorized to access this', 'throttleRequestsException' => 'Throttle: too many request have been attempted, please retry later' ]; } }