1 // Code generated by "stringer -type=Status,ErrorCode -output const_string.go"; DO NOT EDIT
7 const _Status_name = "OKNOK"
9 var _Status_index = [...]uint8{0, 2, 5}
11 func (i Status) String() string {
12 if i >= Status(len(_Status_index)-1) {
13 return fmt.Sprintf("Status(%d)", i)
15 return _Status_name[_Status_index[i]:_Status_index[i+1]]
18 const _ErrorCode_name = "BadRequestEmailExistsInternalErrorInvalidCredentialsInvalidEmailInvalidOtpInvalidPasswordNeedOtpValidationNotAuthorizedNotFoundOtpAlreadySetupOtpNotSetupUserNotConfirmed"
20 var _ErrorCode_index = [...]uint8{0, 10, 21, 34, 52, 64, 74, 89, 106, 119, 127, 142, 153, 169}
22 func (i ErrorCode) String() string {
24 if i >= ErrorCode(len(_ErrorCode_index)-1) {
25 return fmt.Sprintf("ErrorCode(%d)", i+3)
27 return _ErrorCode_name[_ErrorCode_index[i]:_ErrorCode_index[i+1]]