Documentation ¶
Index ¶
- Variables
- func IsErrMismatchedObject(err error) bool
- func IsErrNotExist(err error) bool
- func IsErrStatusCode(err error) bool
- func NewErrNotExist(t string, oid string) error
- func NewErrStatusCode(statusCode int, format string, a ...any) error
- type ErrMismatchedObject
- type ErrNotExist
- type ErrStatusCode
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUnsupportCompressMethod = errors.New("unsupported compress method") ErrMistakeHashText = errors.New("mistake hash text") ErrUnsupportedObject = errors.New("unsupported object type") ErrMismatchedMagic = errors.New("mismatched magic") ErrMismatchedVersion = errors.New("mismatched version") )
Functions ¶
func IsErrMismatchedObject ¶
func IsErrNotExist ¶
func IsErrStatusCode ¶
func NewErrNotExist ¶
Types ¶
type ErrMismatchedObject ¶
func (*ErrMismatchedObject) Error ¶
func (err *ErrMismatchedObject) Error() string
type ErrNotExist ¶
func (*ErrNotExist) Error ¶
func (err *ErrNotExist) Error() string
type ErrStatusCode ¶
func (*ErrStatusCode) Error ¶
func (err *ErrStatusCode) Error() string
Click to show internal directories.
Click to hide internal directories.