101, 'validationFailed' => 102, 'customerExists' => 103, 'customerAlreadyActive' => 110, 'customerNotActivated' => 116, 'authFailed' => 117, 'apiAuthFailed' => 119, 'singleOptinCustomerExists' => 120, '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', 'customerExists' => 'L\'utilisateur est déjà enregistré sur ce site', 'customerNotActivated' => 'Le compte n\'est pas activé', 'customerAlreadyActive' => 'Le compte est déjà activé', 'singleOptinCustomerExists' => 'Le single optin ne peut être ajouté car un compte existe.', 'authFailed' => 'Echec de l\'authentification du compte', 'apiAuthFailed' => 'Echec de l\'authentification client à l\'Api LDC-CRM pour ce service', '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' ]; } }