aboutsummaryrefslogblamecommitdiff
path: root/api/const_string.go
blob: e4b9e507421d386728072c2ff9e84e3b9390d009 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                                                           
                                                                                                                                                                                                                                                 
 
                                                                                                         







                                                                         
// Code generated by "stringer -type=Status,ErrorCode -output const_string.go"; DO NOT EDIT

package api

import "fmt"

const _Status_name = "OKNOK"

var _Status_index = [...]uint8{0, 2, 5}

func (i Status) String() string {
	if i >= Status(len(_Status_index)-1) {
		return fmt.Sprintf("Status(%d)", i)
	}
	return _Status_name[_Status_index[i]:_Status_index[i+1]]
}

const _ErrorCode_name = "BadRequestEmailExistsExternalServiceTimeoutInternalErrorInvalidCredentialsInvalidEmailInvalidMarketCredentialsInvalidOtpInvalidPasswordNeedOtpValidationNotAuthorizedNotFoundOtpAlreadySetupOtpNotSetupUserNotConfirmed"

var _ErrorCode_index = [...]uint8{0, 10, 21, 43, 56, 74, 86, 110, 120, 135, 152, 165, 173, 188, 199, 215}

func (i ErrorCode) String() string {
	i -= 3
	if i >= ErrorCode(len(_ErrorCode_index)-1) {
		return fmt.Sprintf("ErrorCode(%d)", i+3)
	}
	return _ErrorCode_name[_ErrorCode_index[i]:_ErrorCode_index[i+1]]
}