Documentation
¶
Index ¶
Constants ¶
View Source
const ( //CodeFileErr 文件错误 CodeFile = 100000000000 // 文件不存在 CodeFileNotExist = 1000040010001 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Error ¶
type Error interface { Arg(args ...interface{}) error Error() string MarshalJSON() ([]byte, error) }
var FileNotExistErr Error = FileNotExist{/* contains filtered or unexported fields */}
type FileError ¶
type FileError struct {
// contains filtered or unexported fields
}
func (FileError) MarshalJSON ¶
type FileExist ¶
type FileExist struct {
// contains filtered or unexported fields
}
FileNotExist 文件不存在
func (FileExist) MarshalJSON ¶
type FileNotExist ¶
type FileNotExist struct {
// contains filtered or unexported fields
}
FileNotExist 文件不存在
func (FileNotExist) Arg ¶
func (e FileNotExist) Arg(args ...interface{}) error
func (FileNotExist) Error ¶
func (e FileNotExist) Error() string
func (FileNotExist) MarshalJSON ¶
func (e FileNotExist) MarshalJSON() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.