forked from mtusi2026/mtusi2026lab2
26 lines
1.7 KiB
Go
26 lines
1.7 KiB
Go
package types
|
|
|
|
import "errors"
|
|
|
|
var (
|
|
ErrUnsupportedRole = errors.New("unsupported role")
|
|
ErrUnsupportedOTPType = errors.New("unsupported OTP type")
|
|
ErrUnsupportedAuthProviderType = errors.New("unsupported auth provider type")
|
|
ErrUnsupportedContactType = errors.New("unsupported contact type")
|
|
ErrUnsupportedOTPStatus = errors.New("unsupported OTP status")
|
|
ErrUnsupportedOTPResult = errors.New("unsupported OTP result")
|
|
ErrUnsupportedFormStatus = errors.New("unsupported form status")
|
|
ErrUnsupportedAuthIdentityStatus = errors.New("unsupported auth identity status")
|
|
ErrUnsupportedApplicationEnvironment = errors.New("unsupported application environment")
|
|
|
|
ErrUnmarshalRoleIntoNilPointer = errors.New("unmarshal role into nil pointer")
|
|
ErrUnmarshalOTPTypeIntoNilPointer = errors.New("unmarshal OTP type into nil pointer")
|
|
ErrUnmarshalAuthProviderTypeIntoNilPointer = errors.New("unmarshal auth provider into nil pointer")
|
|
ErrUnmarshalContactTypeIntoNilPointer = errors.New("unmarshal contact into nil pointer")
|
|
ErrUnmarshalOTPStatusIntoNilPointer = errors.New("unmarshal OTP status into nil pointer")
|
|
ErrUnmarshalOTPResultIntoNilPointer = errors.New("unmarshal OTP result into nil pointer")
|
|
ErrUnmarshalFormStatusIntoNilPointer = errors.New("unmarshal form status into nil pointer")
|
|
ErrUnmarshalAuthIdentityStatusIntoNilPointer = errors.New("unmarshal auth identity status into nil pointer")
|
|
ErrUnmarshalApplicationEnvironmentIntoNilPointer = errors.New("unmarshal application environment into nil pointer")
|
|
)
|