Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ErrCacheMiss ¶
type ErrCacheMiss struct {
Key string
}
ErrCacheMiss 缓存未命中错误
func (*ErrCacheMiss) Error ¶
func (e *ErrCacheMiss) Error() string
type ErrFileNotFound ¶
ErrFileNotFound 文件不存在错误
func NewErrFileNotFound ¶
func NewErrFileNotFound(filePath, fileType string) *ErrFileNotFound
NewErrFileNotFound 创建文件不存在错误
func (*ErrFileNotFound) Error ¶
func (e *ErrFileNotFound) Error() string
type ErrOperationNotSupported ¶
ErrOperationNotSupported 操作不支持错误
func NewErrOperationNotSupported ¶
func NewErrOperationNotSupported(dataSourceType, operation string) *ErrOperationNotSupported
NewErrOperationNotSupported 创建操作不支持错误
func (*ErrOperationNotSupported) Error ¶
func (e *ErrOperationNotSupported) Error() string
type ErrPoolExhausted ¶
type ErrPoolExhausted struct {
Message string
}
ErrPoolExhausted 连接池耗尽错误
func (*ErrPoolExhausted) Error ¶
func (e *ErrPoolExhausted) Error() string
type ErrSQLNotSupported ¶
type ErrSQLNotSupported struct {
DataSourceType string
}
ErrSQLNotSupported SQL执行不支持错误
func NewErrSQLNotSupported ¶
func NewErrSQLNotSupported(dataSourceType string) *ErrSQLNotSupported
NewErrSQLNotSupported 创建SQL不支持错误
func (*ErrSQLNotSupported) Error ¶
func (e *ErrSQLNotSupported) Error() string
type ErrTypeConversion ¶
ErrTypeConversion 类型转换错误
func (*ErrTypeConversion) Error ¶
func (e *ErrTypeConversion) Error() string
Click to show internal directories.
Click to hide internal directories.