X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=api%2Fconst_string.go;h=c22d1ae32be779ca8f5e98b2d2da7af16ff4e49c;hb=4495b984d3e60874281f37cdb2dbe2cf1c3874ab;hp=5af7574c5bae8968d07d2c2810d994413d54b9ec;hpb=372ed7400f57355eb7dd98058b10ddeb1e1ff635;p=perso%2FImmae%2FProjets%2FCryptomonnaies%2FCryptoportfolio%2FFront.git diff --git a/api/const_string.go b/api/const_string.go index 5af7574..c22d1ae 100644 --- a/api/const_string.go +++ b/api/const_string.go @@ -1,4 +1,4 @@ -// Code generated by "stringer -type=Status,ErrorCode -output const_string.go"; DO NOT EDIT. +// Code generated by "stringer -type=Status -output const_string.go"; DO NOT EDIT. package api @@ -14,15 +14,3 @@ func (i Status) String() string { } return _Status_name[_Status_index[i]:_Status_index[i+1]] } - -const _ErrorCode_name = "BadRequestEmailExistsExternalServiceTimeoutInternalErrorInvalidCredentialsInvalidEmailInvalidMarketCredentialsMarketCredentialsNotConfiguredIPRestrictedApiKeyInvalidOtpInvalidPasswordNeedOtpValidationNotAuthorizedNotFoundOtpAlreadySetupOtpNotSetupUserNotConfirmed" - -var _ErrorCode_index = [...]uint16{0, 10, 21, 43, 56, 74, 86, 110, 140, 158, 168, 183, 200, 213, 221, 236, 247, 263} - -func (i ErrorCode) String() string { - i -= 3 - if i >= ErrorCode(len(_ErrorCode_index)-1) { - return "ErrorCode(" + strconv.FormatInt(int64(i+3), 10) + ")" - } - return _ErrorCode_name[_ErrorCode_index[i]:_ErrorCode_index[i+1]] -}