Documentation ¶
Index ¶
- Variables
- func AlreadyExistsError() *errors.Error
- func AlreadyExistsErrorFormat(format string, args ...any) *errors.Error
- func BusinessValueError() *errors.Error
- func BusinessValueErrorFormat(format string, args ...any) *errors.Error
- func CheckTemplateError() *errors.Error
- func CheckTemplateErrorFormat(format string, args ...any) *errors.Error
- func DatabaseError() *errors.Error
- func DatabaseErrorFormat(format string, args ...any) *errors.Error
- func IsAlreadyExistsError(err error) bool
- func IsBusinessValueError(err error) bool
- func IsCheckTemplateError(err error) bool
- func IsDatabaseError(err error) bool
- func IsNewTokenError(err error) bool
- func IsNotRecordError(err error) bool
- func IsParamsError(err error) bool
- func IsParseTemplateError(err error) bool
- func IsPasswordExpireError(err error) bool
- func IsPasswordFormatError(err error) bool
- func IsRefreshTokenError(err error) bool
- func IsResourceFormatValueError(err error) bool
- func IsResourceValueError(err error) bool
- func IsRsaDecodeError(err error) bool
- func IsServerNotFound(err error) bool
- func IsTokenAuthError(err error) bool
- func IsTransformError(err error) bool
- func IsUserPasswordError(err error) bool
- func IsVersionExistError(err error) bool
- func IsWatchConfigureError(err error) bool
- func NewTokenError() *errors.Error
- func NewTokenErrorFormat(format string, args ...any) *errors.Error
- func NotRecordError() *errors.Error
- func NotRecordErrorFormat(format string, args ...any) *errors.Error
- func ParamsError() *errors.Error
- func ParamsErrorFormat(format string, args ...any) *errors.Error
- func ParseTemplateError() *errors.Error
- func ParseTemplateErrorFormat(format string, args ...any) *errors.Error
- func PasswordExpireError() *errors.Error
- func PasswordExpireErrorFormat(format string, args ...any) *errors.Error
- func PasswordFormatError() *errors.Error
- func PasswordFormatErrorFormat(format string, args ...any) *errors.Error
- func RefreshTokenError() *errors.Error
- func RefreshTokenErrorFormat(format string, args ...any) *errors.Error
- func ResourceFormatValueError() *errors.Error
- func ResourceFormatValueErrorFormat(format string, args ...any) *errors.Error
- func ResourceValueError() *errors.Error
- func ResourceValueErrorFormat(format string, args ...any) *errors.Error
- func RsaDecodeError() *errors.Error
- func RsaDecodeErrorFormat(format string, args ...any) *errors.Error
- func ServerNotFound() *errors.Error
- func ServerNotFoundFormat(format string, args ...any) *errors.Error
- func TokenAuthError() *errors.Error
- func TokenAuthErrorFormat(format string, args ...any) *errors.Error
- func TransformError() *errors.Error
- func TransformErrorFormat(format string, args ...any) *errors.Error
- func UserPasswordError() *errors.Error
- func UserPasswordErrorFormat(format string, args ...any) *errors.Error
- func VersionExistError() *errors.Error
- func VersionExistErrorFormat(format string, args ...any) *errors.Error
- func WatchConfigureError() *errors.Error
- func WatchConfigureErrorFormat(format string, args ...any) *errors.Error
- type ErrorReason
- func (ErrorReason) Descriptor() protoreflect.EnumDescriptor
- func (x ErrorReason) Enum() *ErrorReason
- func (ErrorReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x ErrorReason) Number() protoreflect.EnumNumber
- func (x ErrorReason) String() string
- func (ErrorReason) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrorReason_name = map[int32]string{ 0: "DatabaseError", 1: "TransformError", 2: "AlreadyExistsError", 3: "ParamsError", 4: "NotRecordError", 5: "ResourceFormatValueError", 6: "CheckTemplateError", 7: "ParseTemplateError", 8: "VersionExistError", 9: "WatchConfigureError", 10: "RsaDecodeError", 11: "PasswordFormatError", 12: "PasswordExpireError", 13: "UserPasswordError", 14: "NewTokenError", 15: "RefreshTokenError", 16: "TokenAuthError", 17: "ServerNotFound", 18: "ResourceValueError", 19: "BusinessValueError", } ErrorReason_value = map[string]int32{ "DatabaseError": 0, "TransformError": 1, "AlreadyExistsError": 2, "ParamsError": 3, "NotRecordError": 4, "ResourceFormatValueError": 5, "CheckTemplateError": 6, "ParseTemplateError": 7, "VersionExistError": 8, "WatchConfigureError": 9, "RsaDecodeError": 10, "PasswordFormatError": 11, "PasswordExpireError": 12, "UserPasswordError": 13, "NewTokenError": 14, "RefreshTokenError": 15, "TokenAuthError": 16, "ServerNotFound": 17, "ResourceValueError": 18, "BusinessValueError": 19, } )
Enum value maps for ErrorReason.
View Source
var File_configure_error_reason_proto protoreflect.FileDescriptor
Functions ¶
func AlreadyExistsError ¶
func BusinessValueError ¶
func CheckTemplateError ¶
func DatabaseError ¶
func IsAlreadyExistsError ¶
func IsBusinessValueError ¶
func IsCheckTemplateError ¶
func IsDatabaseError ¶
func IsNewTokenError ¶
func IsNotRecordError ¶
func IsParamsError ¶
func IsParseTemplateError ¶
func IsPasswordExpireError ¶
func IsPasswordFormatError ¶
func IsRefreshTokenError ¶
func IsResourceValueError ¶
func IsRsaDecodeError ¶
func IsServerNotFound ¶
func IsTokenAuthError ¶
func IsTransformError ¶
func IsUserPasswordError ¶
func IsVersionExistError ¶
func IsWatchConfigureError ¶
func NewTokenError ¶
func NotRecordError ¶
func ParamsError ¶
func ParseTemplateError ¶
func PasswordExpireError ¶
func PasswordFormatError ¶
func RefreshTokenError ¶
func RefreshTokenErrorFormat ¶
func ResourceValueError ¶
func RsaDecodeError ¶
func ServerNotFound ¶
func TokenAuthError ¶
func TransformError ¶
func UserPasswordError ¶
func UserPasswordErrorFormat ¶
func VersionExistError ¶
func VersionExistErrorFormat ¶
func WatchConfigureError ¶
Types ¶
type ErrorReason ¶
type ErrorReason int32
const ( ErrorReason_DatabaseError ErrorReason = 0 ErrorReason_TransformError ErrorReason = 1 ErrorReason_AlreadyExistsError ErrorReason = 2 ErrorReason_ParamsError ErrorReason = 3 ErrorReason_NotRecordError ErrorReason = 4 ErrorReason_ResourceFormatValueError ErrorReason = 5 ErrorReason_CheckTemplateError ErrorReason = 6 ErrorReason_ParseTemplateError ErrorReason = 7 ErrorReason_VersionExistError ErrorReason = 8 ErrorReason_WatchConfigureError ErrorReason = 9 ErrorReason_RsaDecodeError ErrorReason = 10 ErrorReason_PasswordFormatError ErrorReason = 11 ErrorReason_PasswordExpireError ErrorReason = 12 ErrorReason_UserPasswordError ErrorReason = 13 ErrorReason_NewTokenError ErrorReason = 14 ErrorReason_RefreshTokenError ErrorReason = 15 ErrorReason_TokenAuthError ErrorReason = 16 ErrorReason_ServerNotFound ErrorReason = 17 ErrorReason_ResourceValueError ErrorReason = 18 ErrorReason_BusinessValueError ErrorReason = 19 )
func (ErrorReason) Descriptor ¶
func (ErrorReason) Descriptor() protoreflect.EnumDescriptor
func (ErrorReason) Enum ¶
func (x ErrorReason) Enum() *ErrorReason
func (ErrorReason) EnumDescriptor
deprecated
func (ErrorReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use ErrorReason.Descriptor instead.
func (ErrorReason) Number ¶
func (x ErrorReason) Number() protoreflect.EnumNumber
func (ErrorReason) String ¶
func (x ErrorReason) String() string
func (ErrorReason) Type ¶
func (ErrorReason) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.