Documentation ¶
Index ¶
- Variables
- func AlreadyBindError(args ...any) *errors.Error
- func AlreadyExistEmailError(args ...any) *errors.Error
- func AlreadyExistUsernameError(args ...any) *errors.Error
- func AppMaintenanceError(args ...any) *errors.Error
- func AppNotBindChannelError(args ...any) *errors.Error
- func BindError(args ...any) *errors.Error
- func ChannelCloseError(args ...any) *errors.Error
- func ChannelNotBindUserError(args ...any) *errors.Error
- func CreateError(args ...any) *errors.Error
- func DatabaseError(args ...any) *errors.Error
- func DeleteError(args ...any) *errors.Error
- func DeleteTrashError(args ...any) *errors.Error
- func DisableRegisterError(args ...any) *errors.Error
- func ExistFeedbackError(args ...any) *errors.Error
- func ExportError(args ...any) *errors.Error
- func ForbiddenError(args ...any) *errors.Error
- func GenCaptchaError(args ...any) *errors.Error
- func GenCaptchaTypeError(args ...any) *errors.Error
- func GenTokenError(args ...any) *errors.Error
- func GetError(args ...any) *errors.Error
- func GetTrashError(args ...any) *errors.Error
- func ImportError(args ...any) *errors.Error
- func IsAlreadyBindError(err error) bool
- func IsAlreadyExistEmailError(err error) bool
- func IsAlreadyExistUsernameError(err error) bool
- func IsAppMaintenanceError(err error) bool
- func IsAppNotBindChannelError(err error) bool
- func IsBindError(err error) bool
- func IsChannelCloseError(err error) bool
- func IsChannelNotBindUserError(err error) bool
- func IsCreateError(err error) bool
- func IsDatabaseError(err error) bool
- func IsDeleteError(err error) bool
- func IsDeleteTrashError(err error) bool
- func IsDisableRegisterError(err error) bool
- func IsExistFeedbackError(err error) bool
- func IsExportError(err error) bool
- func IsForbiddenError(err error) bool
- func IsGenCaptchaError(err error) bool
- func IsGenCaptchaTypeError(err error) bool
- func IsGenTokenError(err error) bool
- func IsGetError(err error) bool
- func IsGetTrashError(err error) bool
- func IsImportError(err error) bool
- func IsListError(err error) bool
- func IsListTrashError(err error) bool
- func IsLoginError(err error) bool
- func IsManagerServerError(err error) bool
- func IsNotAppScopeError(err error) bool
- func IsNotExistEmailError(err error) bool
- func IsNotPermissionError(err error) bool
- func IsNotUserError(err error) bool
- func IsOAuthLoginError(err error) bool
- func IsParamsError(err error) bool
- func IsParseTokenError(err error) bool
- func IsPasswordError(err error) bool
- func IsPasswordExpireError(err error) bool
- func IsPasswordFormatError(err error) bool
- func IsRefreshTokenError(err error) bool
- func IsRegisterError(err error) bool
- func IsResourceServerError(err error) bool
- func IsRevertTrashError(err error) bool
- func IsRsaDecodeError(err error) bool
- func IsSystemError(err error) bool
- func IsTransformError(err error) bool
- func IsUpdateError(err error) bool
- func IsUserDisableError(err error) bool
- func IsVerifyCaptchaError(err error) bool
- func ListError(args ...any) *errors.Error
- func ListTrashError(args ...any) *errors.Error
- func LoginError(args ...any) *errors.Error
- func ManagerServerError(args ...any) *errors.Error
- func NotAppScopeError(args ...any) *errors.Error
- func NotExistEmailError(args ...any) *errors.Error
- func NotPermissionError(args ...any) *errors.Error
- func NotUserError(args ...any) *errors.Error
- func OAuthLoginError(args ...any) *errors.Error
- func ParamsError(args ...any) *errors.Error
- func ParseTokenError(args ...any) *errors.Error
- func PasswordError(args ...any) *errors.Error
- func PasswordExpireError(args ...any) *errors.Error
- func PasswordFormatError(args ...any) *errors.Error
- func RefreshTokenError(args ...any) *errors.Error
- func RegisterError(args ...any) *errors.Error
- func ResourceServerError(args ...any) *errors.Error
- func RevertTrashError(args ...any) *errors.Error
- func RsaDecodeError(args ...any) *errors.Error
- func SystemError(args ...any) *errors.Error
- func TransformError(args ...any) *errors.Error
- func UpdateError(args ...any) *errors.Error
- func UserDisableError(args ...any) *errors.Error
- func VerifyCaptchaError(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: "ParamsError", 1: "DatabaseError", 2: "TransformError", 3: "GetError", 4: "ListError", 5: "CreateError", 6: "ImportError", 7: "ExportError", 8: "UpdateError", 9: "DeleteError", 10: "GetTrashError", 11: "ListTrashError", 12: "DeleteTrashError", 13: "RevertTrashError", 14: "ResourceServerError", 15: "ForbiddenError", 16: "SystemError", 17: "GenCaptchaError", 18: "NotExistEmailError", 19: "GenCaptchaTypeError", 20: "VerifyCaptchaError", 21: "OAuthLoginError", 22: "NotUserError", 23: "NotAppScopeError", 24: "RsaDecodeError", 25: "PasswordFormatError", 26: "PasswordExpireError", 27: "PasswordError", 28: "UserDisableError", 29: "GenTokenError", 30: "ParseTokenError", 31: "RefreshTokenError", 32: "DisableRegisterError", 33: "AlreadyExistEmailError", 34: "AlreadyExistUsernameError", 35: "RegisterError", 36: "BindError", 37: "LoginError", 38: "ExistFeedbackError", 39: "ManagerServerError", 40: "NotPermissionError", 41: "AlreadyBindError", 42: "AppMaintenanceError", 43: "ChannelCloseError", 44: "AppNotBindChannelError", 45: "ChannelNotBindUserError", } ErrorReason_value = map[string]int32{ "ParamsError": 0, "DatabaseError": 1, "TransformError": 2, "GetError": 3, "ListError": 4, "CreateError": 5, "ImportError": 6, "ExportError": 7, "UpdateError": 8, "DeleteError": 9, "GetTrashError": 10, "ListTrashError": 11, "DeleteTrashError": 12, "RevertTrashError": 13, "ResourceServerError": 14, "ForbiddenError": 15, "SystemError": 16, "GenCaptchaError": 17, "NotExistEmailError": 18, "GenCaptchaTypeError": 19, "VerifyCaptchaError": 20, "OAuthLoginError": 21, "NotUserError": 22, "NotAppScopeError": 23, "RsaDecodeError": 24, "PasswordFormatError": 25, "PasswordExpireError": 26, "PasswordError": 27, "UserDisableError": 28, "GenTokenError": 29, "ParseTokenError": 30, "RefreshTokenError": 31, "DisableRegisterError": 32, "AlreadyExistEmailError": 33, "AlreadyExistUsernameError": 34, "RegisterError": 35, "BindError": 36, "LoginError": 37, "ExistFeedbackError": 38, "ManagerServerError": 39, "NotPermissionError": 40, "AlreadyBindError": 41, "AppMaintenanceError": 42, "ChannelCloseError": 43, "AppNotBindChannelError": 44, "ChannelNotBindUserError": 45, } )
Enum value maps for ErrorReason.
View Source
var File_api_application_errors_application_error_reason_proto protoreflect.FileDescriptor
Functions ¶
func AlreadyBindError ¶
func AlreadyExistEmailError ¶
func AppMaintenanceError ¶
func AppNotBindChannelError ¶
func ChannelCloseError ¶
func ChannelNotBindUserError ¶
func CreateError ¶
func DatabaseError ¶
func DeleteError ¶
func DeleteTrashError ¶
func DisableRegisterError ¶
func ExistFeedbackError ¶
func ExportError ¶
func ForbiddenError ¶
func GenCaptchaError ¶
func GenCaptchaTypeError ¶
func GenTokenError ¶
func GetTrashError ¶
func ImportError ¶
func IsAlreadyBindError ¶
func IsAppMaintenanceError ¶
func IsBindError ¶
func IsChannelCloseError ¶
func IsCreateError ¶
func IsDatabaseError ¶
func IsDeleteError ¶
func IsDeleteTrashError ¶
func IsDisableRegisterError ¶
func IsExistFeedbackError ¶
func IsExportError ¶
func IsForbiddenError ¶
func IsGenCaptchaError ¶
func IsGenCaptchaTypeError ¶
func IsGenTokenError ¶
func IsGetError ¶
func IsGetTrashError ¶
func IsImportError ¶
func IsListError ¶
func IsListTrashError ¶
func IsLoginError ¶
func IsManagerServerError ¶
func IsNotAppScopeError ¶
func IsNotExistEmailError ¶
func IsNotPermissionError ¶
func IsNotUserError ¶
func IsOAuthLoginError ¶
func IsParamsError ¶
func IsParseTokenError ¶
func IsPasswordError ¶
func IsPasswordExpireError ¶
func IsPasswordFormatError ¶
func IsRefreshTokenError ¶
func IsRegisterError ¶
func IsResourceServerError ¶
func IsRevertTrashError ¶
func IsRsaDecodeError ¶
func IsSystemError ¶
func IsTransformError ¶
func IsUpdateError ¶
func IsUserDisableError ¶
func IsVerifyCaptchaError ¶
func ListTrashError ¶
func LoginError ¶
func ManagerServerError ¶
func NotAppScopeError ¶
func NotExistEmailError ¶
func NotPermissionError ¶
func NotUserError ¶
func OAuthLoginError ¶
func ParamsError ¶
func ParseTokenError ¶
func PasswordError ¶
func PasswordExpireError ¶
func PasswordFormatError ¶
func RefreshTokenError ¶
func RegisterError ¶
func ResourceServerError ¶
func RevertTrashError ¶
func RsaDecodeError ¶
func SystemError ¶
func TransformError ¶
func UpdateError ¶
func UserDisableError ¶
func VerifyCaptchaError ¶
Types ¶
type ErrorReason ¶
type ErrorReason int32
const ( ErrorReason_ParamsError ErrorReason = 0 ErrorReason_DatabaseError ErrorReason = 1 ErrorReason_TransformError ErrorReason = 2 ErrorReason_GetError ErrorReason = 3 ErrorReason_ListError ErrorReason = 4 ErrorReason_CreateError ErrorReason = 5 ErrorReason_ImportError ErrorReason = 6 ErrorReason_ExportError ErrorReason = 7 ErrorReason_UpdateError ErrorReason = 8 ErrorReason_DeleteError ErrorReason = 9 ErrorReason_GetTrashError ErrorReason = 10 ErrorReason_ListTrashError ErrorReason = 11 ErrorReason_DeleteTrashError ErrorReason = 12 ErrorReason_RevertTrashError ErrorReason = 13 ErrorReason_ResourceServerError ErrorReason = 14 ErrorReason_ForbiddenError ErrorReason = 15 ErrorReason_SystemError ErrorReason = 16 ErrorReason_GenCaptchaError ErrorReason = 17 ErrorReason_NotExistEmailError ErrorReason = 18 ErrorReason_GenCaptchaTypeError ErrorReason = 19 ErrorReason_VerifyCaptchaError ErrorReason = 20 ErrorReason_OAuthLoginError ErrorReason = 21 ErrorReason_NotUserError ErrorReason = 22 ErrorReason_NotAppScopeError ErrorReason = 23 ErrorReason_RsaDecodeError ErrorReason = 24 ErrorReason_PasswordFormatError ErrorReason = 25 ErrorReason_PasswordExpireError ErrorReason = 26 ErrorReason_PasswordError ErrorReason = 27 ErrorReason_UserDisableError ErrorReason = 28 ErrorReason_GenTokenError ErrorReason = 29 ErrorReason_ParseTokenError ErrorReason = 30 ErrorReason_RefreshTokenError ErrorReason = 31 ErrorReason_DisableRegisterError ErrorReason = 32 ErrorReason_AlreadyExistEmailError ErrorReason = 33 ErrorReason_AlreadyExistUsernameError ErrorReason = 34 ErrorReason_RegisterError ErrorReason = 35 ErrorReason_BindError ErrorReason = 36 ErrorReason_LoginError ErrorReason = 37 ErrorReason_ExistFeedbackError ErrorReason = 38 ErrorReason_ManagerServerError ErrorReason = 39 ErrorReason_NotPermissionError ErrorReason = 40 ErrorReason_AlreadyBindError ErrorReason = 41 ErrorReason_AppMaintenanceError ErrorReason = 42 ErrorReason_ChannelCloseError ErrorReason = 43 ErrorReason_AppNotBindChannelError ErrorReason = 44 ErrorReason_ChannelNotBindUserError ErrorReason = 45 )
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.