-// Code generated by "stringer -type=Status,ErrorCode -output const_string.go"; DO NOT EDIT
+// Code generated by "stringer -type=Status,ErrorCode -output const_string.go"; DO NOT EDIT.
package api
-import "fmt"
+import "strconv"
const _Status_name = "OKNOK"
func (i Status) String() string {
if i >= Status(len(_Status_index)-1) {
- return fmt.Sprintf("Status(%d)", i)
+ return "Status(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _Status_name[_Status_index[i]:_Status_index[i+1]]
}
-const _ErrorCode_name = "BadRequestEmailExistsInternalErrorInvalidCredentialsInvalidEmailInvalidOtpInvalidPasswordNeedOtpValidationNotAuthorizedNotFoundOtpAlreadySetupOtpNotSetupUserNotConfirmed"
+const _ErrorCode_name = "BadRequestEmailExistsExternalServiceTimeoutInternalErrorInvalidCredentialsInvalidEmailInvalidMarketCredentialsMarketCredentialsNotConfiguredIPRestrictedApiKeyInvalidOtpInvalidPasswordNeedOtpValidationNotAuthorizedNotFoundOtpAlreadySetupOtpNotSetupUserNotConfirmed"
-var _ErrorCode_index = [...]uint8{0, 10, 21, 34, 52, 64, 74, 89, 106, 119, 127, 142, 153, 169}
+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 fmt.Sprintf("ErrorCode(%d)", i+3)
+ return "ErrorCode(" + strconv.FormatInt(int64(i+3), 10) + ")"
}
return _ErrorCode_name[_ErrorCode_index[i]:_ErrorCode_index[i+1]]
}