Documentation ¶
Index ¶
- Variables
- func AccessResource() *errors.Error
- func AccessResourceFormat(format string, args ...any) *errors.Error
- func AddDirectory() *errors.Error
- func AddDirectoryFormat(format string, args ...any) *errors.Error
- func AlreadyExistFileName() *errors.Error
- func AlreadyExistFileNameFormat(format string, args ...any) *errors.Error
- func ChunkUpload() *errors.Error
- func ChunkUploadFormat(format string, args ...any) *errors.Error
- func Database() *errors.Error
- func DatabaseFormat(format string, args ...any) *errors.Error
- func DeleteDirectory() *errors.Error
- func DeleteDirectoryFormat(format string, args ...any) *errors.Error
- func ExportFileNameDup() *errors.Error
- func ExportFileNameDupFormat(format string, args ...any) *errors.Error
- func ExportTaskProcess() *errors.Error
- func ExportTaskProcessFormat(format string, args ...any) *errors.Error
- func FileFormat() *errors.Error
- func FileFormatFormat(format string, args ...any) *errors.Error
- func InitStore() *errors.Error
- func InitStoreFormat(format string, args ...any) *errors.Error
- func IsAccessResource(err error) bool
- func IsAddDirectory(err error) bool
- func IsAlreadyExistFileName(err error) bool
- func IsChunkUpload(err error) bool
- func IsDatabase(err error) bool
- func IsDeleteDirectory(err error) bool
- func IsExportFileNameDup(err error) bool
- func IsExportTaskProcess(err error) bool
- func IsFileFormat(err error) bool
- func IsInitStore(err error) bool
- func IsNoSupportStore(err error) bool
- func IsNotExistDirectory(err error) bool
- func IsNotExistFile(err error) bool
- func IsNotExistResource(err error) bool
- func IsNotFound(err error) bool
- func IsParams(err error) bool
- func IsStatusProgress(err error) bool
- func IsSystem(err error) bool
- func IsTransform(err error) bool
- func IsUpdateDirectory(err error) bool
- func IsUploadFile(err error) bool
- func NoSupportStore() *errors.Error
- func NoSupportStoreFormat(format string, args ...any) *errors.Error
- func NotExistDirectory() *errors.Error
- func NotExistDirectoryFormat(format string, args ...any) *errors.Error
- func NotExistFile() *errors.Error
- func NotExistFileFormat(format string, args ...any) *errors.Error
- func NotExistResource() *errors.Error
- func NotExistResourceFormat(format string, args ...any) *errors.Error
- func NotFound() *errors.Error
- func NotFoundFormat(format string, args ...any) *errors.Error
- func Params() *errors.Error
- func ParamsFormat(format string, args ...any) *errors.Error
- func StatusProgress() *errors.Error
- func StatusProgressFormat(format string, args ...any) *errors.Error
- func System() *errors.Error
- func SystemFormat(format string, args ...any) *errors.Error
- func Transform() *errors.Error
- func TransformFormat(format string, args ...any) *errors.Error
- func UpdateDirectory() *errors.Error
- func UpdateDirectoryFormat(format string, args ...any) *errors.Error
- func UploadFile() *errors.Error
- func UploadFileFormat(format string, args ...any) *errors.Error
- type Reason
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Reason_name = map[int32]string{ 0: "NotFound", 1: "Transform", 2: "NoSupportStore", 3: "System", 4: "ChunkUpload", 5: "Database", 6: "StatusProgress", 7: "UploadFile", 8: "InitStore", 9: "FileFormat", 10: "AddDirectory", 11: "UpdateDirectory", 12: "DeleteDirectory", 13: "NotExistFile", 14: "AlreadyExistFileName", 15: "NotExistDirectory", 16: "NotExistResource", 17: "Params", 18: "AccessResource", 19: "ExportFileNameDup", 20: "ExportTaskProcess", } Reason_value = map[string]int32{ "NotFound": 0, "Transform": 1, "NoSupportStore": 2, "System": 3, "ChunkUpload": 4, "Database": 5, "StatusProgress": 6, "UploadFile": 7, "InitStore": 8, "FileFormat": 9, "AddDirectory": 10, "UpdateDirectory": 11, "DeleteDirectory": 12, "NotExistFile": 13, "AlreadyExistFileName": 14, "NotExistDirectory": 15, "NotExistResource": 16, "Params": 17, "AccessResource": 18, "ExportFileNameDup": 19, "ExportTaskProcess": 20, } )
Enum value maps for Reason.
View Source
var File_resource_error_reason_proto protoreflect.FileDescriptor
Functions ¶
func AccessResource ¶ added in v1.0.6
func AccessResourceFormat ¶ added in v1.0.6
func AddDirectory ¶
func AlreadyExistFileName ¶
func ChunkUpload ¶
func DeleteDirectory ¶
func ExportFileNameDup ¶ added in v1.0.8
func ExportFileNameDupFormat ¶ added in v1.0.8
func ExportTaskProcess ¶ added in v1.0.8
func ExportTaskProcessFormat ¶ added in v1.0.8
func FileFormat ¶
func IsAccessResource ¶ added in v1.0.6
func IsAddDirectory ¶
func IsAlreadyExistFileName ¶
func IsChunkUpload ¶
func IsDatabase ¶
func IsDeleteDirectory ¶
func IsExportFileNameDup ¶ added in v1.0.8
func IsExportTaskProcess ¶ added in v1.0.8
func IsFileFormat ¶
func IsInitStore ¶
func IsNoSupportStore ¶
func IsNotExistDirectory ¶
func IsNotExistFile ¶
func IsNotExistResource ¶
func IsNotFound ¶
func IsStatusProgress ¶
func IsTransform ¶
func IsUpdateDirectory ¶
func IsUploadFile ¶
func NoSupportStore ¶
func NotExistDirectory ¶
func NotExistDirectoryFormat ¶
func NotExistFile ¶
func NotExistResource ¶
func StatusProgress ¶
func UpdateDirectory ¶
func UploadFile ¶
Types ¶
type Reason ¶
type Reason int32
const ( Reason_NotFound Reason = 0 Reason_Transform Reason = 1 Reason_NoSupportStore Reason = 2 Reason_System Reason = 3 Reason_ChunkUpload Reason = 4 Reason_Database Reason = 5 Reason_StatusProgress Reason = 6 Reason_UploadFile Reason = 7 Reason_InitStore Reason = 8 Reason_FileFormat Reason = 9 Reason_AddDirectory Reason = 10 Reason_UpdateDirectory Reason = 11 Reason_DeleteDirectory Reason = 12 Reason_NotExistFile Reason = 13 Reason_AlreadyExistFileName Reason = 14 Reason_NotExistDirectory Reason = 15 Reason_NotExistResource Reason = 16 Reason_Params Reason = 17 Reason_AccessResource Reason = 18 Reason_ExportFileNameDup Reason = 19 Reason_ExportTaskProcess Reason = 20 )
func (Reason) Descriptor ¶
func (Reason) Descriptor() protoreflect.EnumDescriptor
func (Reason) EnumDescriptor
deprecated
func (Reason) Number ¶
func (x Reason) Number() protoreflect.EnumNumber
func (Reason) Type ¶
func (Reason) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.