Documentation ¶
Index ¶
- Variables
- func AccessResourceError(args ...any) *errors.Error
- func AccessResourceErrorf(msg string, args ...any) *errors.Error
- func AlreadyBindError(args ...any) *errors.Error
- func AlreadyBindErrorf(msg string, args ...any) *errors.Error
- func AlreadyExistEmailError(args ...any) *errors.Error
- func AlreadyExistEmailErrorf(msg string, args ...any) *errors.Error
- func AlreadyExistFileNameError(args ...any) *errors.Error
- func AlreadyExistFileNameErrorf(msg string, args ...any) *errors.Error
- func AlreadyExistUsernameError(args ...any) *errors.Error
- func AlreadyExistUsernameErrorf(msg string, args ...any) *errors.Error
- func AppMaintenanceError(args ...any) *errors.Error
- func AppMaintenanceErrorf(msg string, args ...any) *errors.Error
- func AppNotBindChannelError(args ...any) *errors.Error
- func AppNotBindChannelErrorf(msg string, args ...any) *errors.Error
- func BindError(args ...any) *errors.Error
- func BindErrorf(msg string, args ...any) *errors.Error
- func BroadcastConfigureError(args ...any) *errors.Error
- func BroadcastConfigureErrorf(msg string, args ...any) *errors.Error
- func BusinessValueTypeError(args ...any) *errors.Error
- func BusinessValueTypeErrorf(msg string, args ...any) *errors.Error
- func ChannelCloseError(args ...any) *errors.Error
- func ChannelCloseErrorf(msg string, args ...any) *errors.Error
- func ChannelNotBindUserError(args ...any) *errors.Error
- func ChannelNotBindUserErrorf(msg string, args ...any) *errors.Error
- func ChunkUploadError(args ...any) *errors.Error
- func ChunkUploadErrorf(msg string, args ...any) *errors.Error
- func ConfigServiceError(args ...any) *errors.Error
- func ConfigServiceErrorf(msg string, args ...any) *errors.Error
- func ConfigureVersionExistError(args ...any) *errors.Error
- func ConfigureVersionExistErrorf(msg string, args ...any) *errors.Error
- func CreateError(args ...any) *errors.Error
- func CreateErrorf(msg string, args ...any) *errors.Error
- func DatabaseError(args ...any) *errors.Error
- func DatabaseErrorf(msg string, args ...any) *errors.Error
- func DeleteError(args ...any) *errors.Error
- func DeleteErrorf(msg string, args ...any) *errors.Error
- func DeleteSystemDataError(args ...any) *errors.Error
- func DeleteSystemDataErrorf(msg string, args ...any) *errors.Error
- func DeleteTrashError(args ...any) *errors.Error
- func DeleteTrashErrorf(msg string, args ...any) *errors.Error
- func DepartmentPurviewError(args ...any) *errors.Error
- func DepartmentPurviewErrorf(msg string, args ...any) *errors.Error
- func DisableRegisterError(args ...any) *errors.Error
- func DisableRegisterErrorf(msg string, args ...any) *errors.Error
- func EditSystemDataError(args ...any) *errors.Error
- func EditSystemDataErrorf(msg string, args ...any) *errors.Error
- func ExceedMaxSizeError(args ...any) *errors.Error
- func ExceedMaxSizeErrorf(msg string, args ...any) *errors.Error
- func ExistFeedbackError(args ...any) *errors.Error
- func ExistFeedbackErrorf(msg string, args ...any) *errors.Error
- func ExportError(args ...any) *errors.Error
- func ExportErrorf(msg string, args ...any) *errors.Error
- func ExportFileNameDupError(args ...any) *errors.Error
- func ExportFileNameDupErrorf(msg string, args ...any) *errors.Error
- func ExportTaskProcessError(args ...any) *errors.Error
- func ExportTaskProcessErrorf(msg string, args ...any) *errors.Error
- func FileFormatError(args ...any) *errors.Error
- func FileFormatErrorf(msg string, args ...any) *errors.Error
- func FileSystemError(args ...any) *errors.Error
- func FileSystemErrorf(msg string, args ...any) *errors.Error
- func ForbiddenError(args ...any) *errors.Error
- func ForbiddenErrorf(msg string, args ...any) *errors.Error
- func GenCaptchaError(args ...any) *errors.Error
- func GenCaptchaErrorf(msg string, args ...any) *errors.Error
- func GenCaptchaTypeError(args ...any) *errors.Error
- func GenCaptchaTypeErrorf(msg string, args ...any) *errors.Error
- func GenTokenError(args ...any) *errors.Error
- func GenTokenErrorf(msg string, args ...any) *errors.Error
- func GetError(args ...any) *errors.Error
- func GetErrorf(msg string, args ...any) *errors.Error
- func GetTrashError(args ...any) *errors.Error
- func GetTrashErrorf(msg string, args ...any) *errors.Error
- func ImportError(args ...any) *errors.Error
- func ImportErrorf(msg string, args ...any) *errors.Error
- func InitStoreError(args ...any) *errors.Error
- func InitStoreErrorf(msg string, args ...any) *errors.Error
- func IsAccessResourceError(err error) bool
- func IsAlreadyBindError(err error) bool
- func IsAlreadyExistEmailError(err error) bool
- func IsAlreadyExistFileNameError(err error) bool
- func IsAlreadyExistUsernameError(err error) bool
- func IsAppMaintenanceError(err error) bool
- func IsAppNotBindChannelError(err error) bool
- func IsBindError(err error) bool
- func IsBroadcastConfigureError(err error) bool
- func IsBusinessValueTypeError(err error) bool
- func IsChannelCloseError(err error) bool
- func IsChannelNotBindUserError(err error) bool
- func IsChunkUploadError(err error) bool
- func IsConfigServiceError(err error) bool
- func IsConfigureVersionExistError(err error) bool
- func IsCreateError(err error) bool
- func IsDatabaseError(err error) bool
- func IsDeleteError(err error) bool
- func IsDeleteSystemDataError(err error) bool
- func IsDeleteTrashError(err error) bool
- func IsDepartmentPurviewError(err error) bool
- func IsDisableRegisterError(err error) bool
- func IsEditSystemDataError(err error) bool
- func IsExceedMaxSizeError(err error) bool
- func IsExistFeedbackError(err error) bool
- func IsExportError(err error) bool
- func IsExportFileNameDupError(err error) bool
- func IsExportTaskProcessError(err error) bool
- func IsFileFormatError(err error) bool
- func IsFileSystemError(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 IsInitStoreError(err error) bool
- func IsListError(err error) bool
- func IsListTrashError(err error) bool
- func IsLoginError(err error) bool
- func IsManagerServiceError(err error) bool
- func IsMenuPurviewError(err error) bool
- func IsNetWorkError(err error) bool
- func IsNoSupportFileTypeError(err error) bool
- func IsNoSupportStoreError(err error) bool
- func IsNotAppScopeError(err error) bool
- func IsNotExistEmailError(err error) bool
- func IsNotExistFileError(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 IsRenderTemplateError(err error) bool
- func IsResourceServiceError(err error) bool
- func IsResourceValueTypeError(err error) bool
- func IsRevertTrashError(err error) bool
- func IsRoleDisableError(err error) bool
- func IsRolePurviewError(err error) bool
- func IsRsaDecodeError(err error) bool
- func IsSendCaptchaError(err error) bool
- func IsServerNotExistTemplateError(err error) bool
- func IsServerNotFound(err error) bool
- func IsStatusProgressError(err error) bool
- func IsSystemError(err error) bool
- func IsTemplateVersionExistError(err error) bool
- func IsTokenAuthError(err error) bool
- func IsTransformError(err error) bool
- func IsUpdateError(err error) bool
- func IsUploadFileError(err error) bool
- func IsUserDisableError(err error) bool
- func IsUserPurviewError(err error) bool
- func IsUserServiceError(err error) bool
- func IsUsernameFormatError(err error) bool
- func IsUsernameNotExistError(err error) bool
- func IsVerifyCaptchaError(err error) bool
- func IsVerifySignError(err error) bool
- func IsWatchConfigureError(err error) bool
- func ListError(args ...any) *errors.Error
- func ListErrorf(msg string, args ...any) *errors.Error
- func ListTrashError(args ...any) *errors.Error
- func ListTrashErrorf(msg string, args ...any) *errors.Error
- func LoginError(args ...any) *errors.Error
- func LoginErrorf(msg string, args ...any) *errors.Error
- func ManagerServiceError(args ...any) *errors.Error
- func ManagerServiceErrorf(msg string, args ...any) *errors.Error
- func MenuPurviewError(args ...any) *errors.Error
- func MenuPurviewErrorf(msg string, args ...any) *errors.Error
- func NetWorkError(args ...any) *errors.Error
- func NetWorkErrorf(msg string, args ...any) *errors.Error
- func NoSupportFileTypeError(args ...any) *errors.Error
- func NoSupportFileTypeErrorf(msg string, args ...any) *errors.Error
- func NoSupportStoreError(args ...any) *errors.Error
- func NoSupportStoreErrorf(msg string, args ...any) *errors.Error
- func NotAppScopeError(args ...any) *errors.Error
- func NotAppScopeErrorf(msg string, args ...any) *errors.Error
- func NotExistEmailError(args ...any) *errors.Error
- func NotExistEmailErrorf(msg string, args ...any) *errors.Error
- func NotExistFileError(args ...any) *errors.Error
- func NotExistFileErrorf(msg string, args ...any) *errors.Error
- func NotPermissionError(args ...any) *errors.Error
- func NotPermissionErrorf(msg string, args ...any) *errors.Error
- func NotUserError(args ...any) *errors.Error
- func NotUserErrorf(msg string, args ...any) *errors.Error
- func OAuthLoginError(args ...any) *errors.Error
- func OAuthLoginErrorf(msg string, args ...any) *errors.Error
- func ParamsError(args ...any) *errors.Error
- func ParamsErrorf(msg string, args ...any) *errors.Error
- func ParseTokenError(args ...any) *errors.Error
- func ParseTokenErrorf(msg string, args ...any) *errors.Error
- func PasswordError(args ...any) *errors.Error
- func PasswordErrorf(msg string, args ...any) *errors.Error
- func PasswordExpireError(args ...any) *errors.Error
- func PasswordExpireErrorf(msg string, args ...any) *errors.Error
- func PasswordFormatError(args ...any) *errors.Error
- func PasswordFormatErrorf(msg string, args ...any) *errors.Error
- func RefreshTokenError(args ...any) *errors.Error
- func RefreshTokenErrorf(msg string, args ...any) *errors.Error
- func RegisterError(args ...any) *errors.Error
- func RegisterErrorf(msg string, args ...any) *errors.Error
- func RenderTemplateError(args ...any) *errors.Error
- func RenderTemplateErrorf(msg string, args ...any) *errors.Error
- func ResourceServiceError(args ...any) *errors.Error
- func ResourceServiceErrorf(msg string, args ...any) *errors.Error
- func ResourceValueTypeError(args ...any) *errors.Error
- func ResourceValueTypeErrorf(msg string, args ...any) *errors.Error
- func RevertTrashError(args ...any) *errors.Error
- func RevertTrashErrorf(msg string, args ...any) *errors.Error
- func RoleDisableError(args ...any) *errors.Error
- func RoleDisableErrorf(msg string, args ...any) *errors.Error
- func RolePurviewError(args ...any) *errors.Error
- func RolePurviewErrorf(msg string, args ...any) *errors.Error
- func RsaDecodeError(args ...any) *errors.Error
- func RsaDecodeErrorf(msg string, args ...any) *errors.Error
- func SendCaptchaError(args ...any) *errors.Error
- func SendCaptchaErrorf(msg string, args ...any) *errors.Error
- func ServerNotExistTemplateError(args ...any) *errors.Error
- func ServerNotExistTemplateErrorf(msg string, args ...any) *errors.Error
- func ServerNotFound(args ...any) *errors.Error
- func ServerNotFoundf(msg string, args ...any) *errors.Error
- func StatusProgressError(args ...any) *errors.Error
- func StatusProgressErrorf(msg string, args ...any) *errors.Error
- func SystemError(args ...any) *errors.Error
- func SystemErrorf(msg string, args ...any) *errors.Error
- func TemplateVersionExistError(args ...any) *errors.Error
- func TemplateVersionExistErrorf(msg string, args ...any) *errors.Error
- func TokenAuthError(args ...any) *errors.Error
- func TokenAuthErrorf(msg string, args ...any) *errors.Error
- func TransformError(args ...any) *errors.Error
- func TransformErrorf(msg string, args ...any) *errors.Error
- func UpdateError(args ...any) *errors.Error
- func UpdateErrorf(msg string, args ...any) *errors.Error
- func UploadFileError(args ...any) *errors.Error
- func UploadFileErrorf(msg string, args ...any) *errors.Error
- func UserDisableError(args ...any) *errors.Error
- func UserDisableErrorf(msg string, args ...any) *errors.Error
- func UserPurviewError(args ...any) *errors.Error
- func UserPurviewErrorf(msg string, args ...any) *errors.Error
- func UserServiceError(args ...any) *errors.Error
- func UserServiceErrorf(msg string, args ...any) *errors.Error
- func UsernameFormatError(args ...any) *errors.Error
- func UsernameFormatErrorf(msg string, args ...any) *errors.Error
- func UsernameNotExistError(args ...any) *errors.Error
- func UsernameNotExistErrorf(msg string, args ...any) *errors.Error
- func VerifyCaptchaError(args ...any) *errors.Error
- func VerifyCaptchaErrorf(msg string, args ...any) *errors.Error
- func VerifySignError(args ...any) *errors.Error
- func VerifySignErrorf(msg string, args ...any) *errors.Error
- func WatchConfigureError(args ...any) *errors.Error
- func WatchConfigureErrorf(msg 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: "SystemError", 1: "FileSystemError", 2: "NetWorkError", 3: "DatabaseError", 4: "ParamsError", 5: "TransformError", 6: "GetError", 7: "ListError", 8: "CreateError", 9: "ImportError", 10: "ExportError", 11: "UpdateError", 12: "DeleteError", 1000: "ConfigServiceError", 1001: "GetTrashError", 1002: "ListTrashError", 1003: "DeleteTrashError", 1004: "RevertTrashError", 1005: "BusinessValueTypeError", 1006: "ResourceValueTypeError", 1007: "RenderTemplateError", 1008: "TemplateVersionExistError", 1009: "ServerNotExistTemplateError", 1010: "ConfigureVersionExistError", 1011: "WatchConfigureError", 1012: "TokenAuthError", 1013: "ServerNotFound", 1014: "PasswordError", 1015: "PasswordExpireError", 1016: "RefreshTokenError", 1017: "BroadcastConfigureError", 2000: "ResourceServiceError", 2001: "NoSupportStoreError", 2002: "NoSupportFileTypeError", 2003: "VerifySignError", 2004: "ChunkUploadError", 2005: "StatusProgressError", 2006: "UploadFileError", 2007: "InitStoreError", 2008: "FileFormatError", 2009: "NotExistFileError", 2010: "AlreadyExistFileNameError", 2011: "AccessResourceError", 2012: "ExportFileNameDupError", 2013: "ExportTaskProcessError", 2014: "ExceedMaxSizeError", 3000: "ManagerServiceError", 3001: "DepartmentPurviewError", 3002: "RolePurviewError", 3003: "UserPurviewError", 3004: "MenuPurviewError", 3005: "EditSystemDataError", 3006: "GenCaptchaError", 3007: "SendCaptchaError", 3008: "DeleteSystemDataError", 3009: "VerifyCaptchaError", 3010: "UsernameFormatError", 3011: "UsernameNotExistError", 3012: "UserDisableError", 3013: "RoleDisableError", 3014: "GenTokenError", 3015: "ParseTokenError", 3016: "ForbiddenError", 3017: "NotPermissionError", 4000: "UserServiceError", 4001: "GenCaptchaTypeError", 4002: "NotExistEmailError", 4003: "OAuthLoginError", 4004: "NotUserError", 4005: "NotAppScopeError", 4006: "RsaDecodeError", 4007: "PasswordFormatError", 4008: "DisableRegisterError", 4009: "AlreadyExistEmailError", 4010: "AlreadyExistUsernameError", 4011: "RegisterError", 4012: "BindError", 4013: "LoginError", 4014: "ExistFeedbackError", 4015: "AlreadyBindError", 4016: "AppMaintenanceError", 4017: "ChannelCloseError", 4018: "AppNotBindChannelError", 4019: "ChannelNotBindUserError", } ErrorReason_value = map[string]int32{ "SystemError": 0, "FileSystemError": 1, "NetWorkError": 2, "DatabaseError": 3, "ParamsError": 4, "TransformError": 5, "GetError": 6, "ListError": 7, "CreateError": 8, "ImportError": 9, "ExportError": 10, "UpdateError": 11, "DeleteError": 12, "ConfigServiceError": 1000, "GetTrashError": 1001, "ListTrashError": 1002, "DeleteTrashError": 1003, "RevertTrashError": 1004, "BusinessValueTypeError": 1005, "ResourceValueTypeError": 1006, "RenderTemplateError": 1007, "TemplateVersionExistError": 1008, "ServerNotExistTemplateError": 1009, "ConfigureVersionExistError": 1010, "WatchConfigureError": 1011, "TokenAuthError": 1012, "ServerNotFound": 1013, "PasswordError": 1014, "PasswordExpireError": 1015, "RefreshTokenError": 1016, "BroadcastConfigureError": 1017, "ResourceServiceError": 2000, "NoSupportStoreError": 2001, "NoSupportFileTypeError": 2002, "VerifySignError": 2003, "ChunkUploadError": 2004, "StatusProgressError": 2005, "UploadFileError": 2006, "InitStoreError": 2007, "FileFormatError": 2008, "NotExistFileError": 2009, "AlreadyExistFileNameError": 2010, "AccessResourceError": 2011, "ExportFileNameDupError": 2012, "ExportTaskProcessError": 2013, "ExceedMaxSizeError": 2014, "ManagerServiceError": 3000, "DepartmentPurviewError": 3001, "RolePurviewError": 3002, "UserPurviewError": 3003, "MenuPurviewError": 3004, "EditSystemDataError": 3005, "GenCaptchaError": 3006, "SendCaptchaError": 3007, "DeleteSystemDataError": 3008, "VerifyCaptchaError": 3009, "UsernameFormatError": 3010, "UsernameNotExistError": 3011, "UserDisableError": 3012, "RoleDisableError": 3013, "GenTokenError": 3014, "ParseTokenError": 3015, "ForbiddenError": 3016, "NotPermissionError": 3017, "UserServiceError": 4000, "GenCaptchaTypeError": 4001, "NotExistEmailError": 4002, "OAuthLoginError": 4003, "NotUserError": 4004, "NotAppScopeError": 4005, "RsaDecodeError": 4006, "PasswordFormatError": 4007, "DisableRegisterError": 4008, "AlreadyExistEmailError": 4009, "AlreadyExistUsernameError": 4010, "RegisterError": 4011, "BindError": 4012, "LoginError": 4013, "ExistFeedbackError": 4014, "AlreadyBindError": 4015, "AppMaintenanceError": 4016, "ChannelCloseError": 4017, "AppNotBindChannelError": 4018, "ChannelNotBindUserError": 4019, } )
Enum value maps for ErrorReason.
View Source
var File_errors_v1_error_reason_proto protoreflect.FileDescriptor
Functions ¶
func AccessResourceError ¶
func AlreadyBindError ¶
func AlreadyExistEmailError ¶
func AppMaintenanceError ¶
func AppNotBindChannelError ¶
func BroadcastConfigureError ¶
func BusinessValueTypeError ¶
func ChannelCloseError ¶
func ChannelNotBindUserError ¶
func ChunkUploadError ¶
func ConfigServiceError ¶
Config service errors (1000-1999)
func ConfigServiceErrorf ¶
Config service errors (1000-1999)
func CreateError ¶
func DatabaseError ¶
func DeleteError ¶
func DeleteSystemDataError ¶
func DeleteTrashError ¶
func DepartmentPurviewError ¶
func DisableRegisterError ¶
func EditSystemDataError ¶
func ExceedMaxSizeError ¶
func ExistFeedbackError ¶
func ExportError ¶
func ExportFileNameDupError ¶
func ExportTaskProcessError ¶
func FileFormatError ¶
func FileSystemError ¶
func ForbiddenError ¶
func GenCaptchaError ¶
func GenCaptchaTypeError ¶
func GenTokenError ¶
func GetTrashError ¶
func ImportError ¶
func InitStoreError ¶
func IsAccessResourceError ¶
func IsAlreadyBindError ¶
func IsAppMaintenanceError ¶
func IsBindError ¶
func IsChannelCloseError ¶
func IsChunkUploadError ¶
func IsConfigServiceError ¶
Config service errors (1000-1999)
func IsCreateError ¶
func IsDatabaseError ¶
func IsDeleteError ¶
func IsDeleteSystemDataError ¶
func IsDeleteTrashError ¶
func IsDisableRegisterError ¶
func IsEditSystemDataError ¶
func IsExceedMaxSizeError ¶
func IsExistFeedbackError ¶
func IsExportError ¶
func IsFileFormatError ¶
func IsFileSystemError ¶
func IsForbiddenError ¶
func IsGenCaptchaError ¶
func IsGenCaptchaTypeError ¶
func IsGenTokenError ¶
func IsGetError ¶
func IsGetTrashError ¶
func IsImportError ¶
func IsInitStoreError ¶
func IsListError ¶
func IsListTrashError ¶
func IsLoginError ¶
func IsManagerServiceError ¶
Manager service errors (3000-3999)
func IsMenuPurviewError ¶
func IsNetWorkError ¶
func IsNoSupportStoreError ¶
func IsNotAppScopeError ¶
func IsNotExistEmailError ¶
func IsNotExistFileError ¶
func IsNotPermissionError ¶
func IsNotUserError ¶
func IsOAuthLoginError ¶
func IsParamsError ¶
func IsParseTokenError ¶
func IsPasswordError ¶
func IsPasswordExpireError ¶
func IsPasswordFormatError ¶
func IsRefreshTokenError ¶
func IsRegisterError ¶
func IsRenderTemplateError ¶
func IsResourceServiceError ¶
Resource service errors (2000-2999)
func IsRevertTrashError ¶
func IsRoleDisableError ¶
func IsRolePurviewError ¶
func IsRsaDecodeError ¶
func IsSendCaptchaError ¶
func IsServerNotFound ¶
func IsStatusProgressError ¶
func IsTokenAuthError ¶
func IsTransformError ¶
func IsUpdateError ¶
func IsUploadFileError ¶
func IsUserDisableError ¶
func IsUserPurviewError ¶
func IsUsernameFormatError ¶
func IsUsernameNotExistError ¶
func IsVerifyCaptchaError ¶
func IsVerifySignError ¶
func IsWatchConfigureError ¶
func ListTrashError ¶
func LoginError ¶
func ManagerServiceError ¶
Manager service errors (3000-3999)
func ManagerServiceErrorf ¶
Manager service errors (3000-3999)
func MenuPurviewError ¶
func NetWorkError ¶
func NoSupportFileTypeError ¶
func NoSupportStoreError ¶
func NotAppScopeError ¶
func NotExistEmailError ¶
func NotExistFileError ¶
func NotPermissionError ¶
func NotUserError ¶
func OAuthLoginError ¶
func ParamsError ¶
func ParseTokenError ¶
func PasswordError ¶
func PasswordExpireError ¶
func PasswordFormatError ¶
func RefreshTokenError ¶
func RegisterError ¶
func RenderTemplateError ¶
func ResourceServiceError ¶
Resource service errors (2000-2999)
func ResourceServiceErrorf ¶
Resource service errors (2000-2999)
func ResourceValueTypeError ¶
func RevertTrashError ¶
func RoleDisableError ¶
func RolePurviewError ¶
func RsaDecodeError ¶
func SendCaptchaError ¶
func ServerNotFound ¶
func StatusProgressError ¶
func TokenAuthError ¶
func TransformError ¶
func UpdateError ¶
func UploadFileError ¶
func UserDisableError ¶
func UserPurviewError ¶
func UserServiceError ¶
Usercenter errors (4000-4999)
func UserServiceErrorf ¶
Usercenter errors (4000-4999)
func UsernameFormatError ¶
func UsernameNotExistError ¶
func VerifyCaptchaError ¶
func VerifySignError ¶
func WatchConfigureError ¶
Types ¶
type ErrorReason ¶
type ErrorReason int32
const ( // Common errors (0-999) ErrorReason_SystemError ErrorReason = 0 ErrorReason_FileSystemError ErrorReason = 1 ErrorReason_NetWorkError ErrorReason = 2 ErrorReason_DatabaseError ErrorReason = 3 ErrorReason_ParamsError ErrorReason = 4 ErrorReason_TransformError ErrorReason = 5 ErrorReason_GetError ErrorReason = 6 ErrorReason_ListError ErrorReason = 7 ErrorReason_CreateError ErrorReason = 8 ErrorReason_ImportError ErrorReason = 9 ErrorReason_ExportError ErrorReason = 10 ErrorReason_UpdateError ErrorReason = 11 ErrorReason_DeleteError ErrorReason = 12 // Config service errors (1000-1999) ErrorReason_ConfigServiceError ErrorReason = 1000 ErrorReason_GetTrashError ErrorReason = 1001 ErrorReason_ListTrashError ErrorReason = 1002 ErrorReason_DeleteTrashError ErrorReason = 1003 ErrorReason_RevertTrashError ErrorReason = 1004 ErrorReason_BusinessValueTypeError ErrorReason = 1005 ErrorReason_ResourceValueTypeError ErrorReason = 1006 ErrorReason_RenderTemplateError ErrorReason = 1007 ErrorReason_TemplateVersionExistError ErrorReason = 1008 ErrorReason_ServerNotExistTemplateError ErrorReason = 1009 ErrorReason_ConfigureVersionExistError ErrorReason = 1010 ErrorReason_WatchConfigureError ErrorReason = 1011 ErrorReason_TokenAuthError ErrorReason = 1012 ErrorReason_ServerNotFound ErrorReason = 1013 ErrorReason_PasswordError ErrorReason = 1014 ErrorReason_PasswordExpireError ErrorReason = 1015 ErrorReason_RefreshTokenError ErrorReason = 1016 ErrorReason_BroadcastConfigureError ErrorReason = 1017 // Resource service errors (2000-2999) ErrorReason_ResourceServiceError ErrorReason = 2000 ErrorReason_NoSupportStoreError ErrorReason = 2001 ErrorReason_NoSupportFileTypeError ErrorReason = 2002 ErrorReason_VerifySignError ErrorReason = 2003 ErrorReason_ChunkUploadError ErrorReason = 2004 ErrorReason_StatusProgressError ErrorReason = 2005 ErrorReason_UploadFileError ErrorReason = 2006 ErrorReason_InitStoreError ErrorReason = 2007 ErrorReason_FileFormatError ErrorReason = 2008 ErrorReason_NotExistFileError ErrorReason = 2009 ErrorReason_AlreadyExistFileNameError ErrorReason = 2010 ErrorReason_AccessResourceError ErrorReason = 2011 ErrorReason_ExportFileNameDupError ErrorReason = 2012 ErrorReason_ExportTaskProcessError ErrorReason = 2013 ErrorReason_ExceedMaxSizeError ErrorReason = 2014 // Manager service errors (3000-3999) ErrorReason_ManagerServiceError ErrorReason = 3000 ErrorReason_DepartmentPurviewError ErrorReason = 3001 ErrorReason_RolePurviewError ErrorReason = 3002 ErrorReason_UserPurviewError ErrorReason = 3003 ErrorReason_MenuPurviewError ErrorReason = 3004 ErrorReason_EditSystemDataError ErrorReason = 3005 ErrorReason_GenCaptchaError ErrorReason = 3006 ErrorReason_SendCaptchaError ErrorReason = 3007 ErrorReason_DeleteSystemDataError ErrorReason = 3008 ErrorReason_VerifyCaptchaError ErrorReason = 3009 ErrorReason_UsernameFormatError ErrorReason = 3010 ErrorReason_UsernameNotExistError ErrorReason = 3011 ErrorReason_UserDisableError ErrorReason = 3012 ErrorReason_RoleDisableError ErrorReason = 3013 ErrorReason_GenTokenError ErrorReason = 3014 ErrorReason_ParseTokenError ErrorReason = 3015 ErrorReason_ForbiddenError ErrorReason = 3016 ErrorReason_NotPermissionError ErrorReason = 3017 // Usercenter errors (4000-4999) ErrorReason_UserServiceError ErrorReason = 4000 ErrorReason_GenCaptchaTypeError ErrorReason = 4001 ErrorReason_NotExistEmailError ErrorReason = 4002 ErrorReason_OAuthLoginError ErrorReason = 4003 ErrorReason_NotUserError ErrorReason = 4004 ErrorReason_NotAppScopeError ErrorReason = 4005 ErrorReason_RsaDecodeError ErrorReason = 4006 ErrorReason_PasswordFormatError ErrorReason = 4007 ErrorReason_DisableRegisterError ErrorReason = 4008 ErrorReason_AlreadyExistEmailError ErrorReason = 4009 ErrorReason_AlreadyExistUsernameError ErrorReason = 4010 ErrorReason_RegisterError ErrorReason = 4011 ErrorReason_BindError ErrorReason = 4012 ErrorReason_LoginError ErrorReason = 4013 ErrorReason_ExistFeedbackError ErrorReason = 4014 ErrorReason_AlreadyBindError ErrorReason = 4015 ErrorReason_AppMaintenanceError ErrorReason = 4016 ErrorReason_ChannelCloseError ErrorReason = 4017 ErrorReason_AppNotBindChannelError ErrorReason = 4018 ErrorReason_ChannelNotBindUserError ErrorReason = 4019 )
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.