zeta

package
v0.26.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnsupportedCompressMethod = 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 IsErrExitCode added in v0.19.0

func IsErrExitCode(err error) bool

func IsErrMismatchedObject

func IsErrMismatchedObject(err error) bool

func IsErrNotExist

func IsErrNotExist(err error) bool

func IsErrStatusCode

func IsErrStatusCode(err error) bool

func NewErrNotExist

func NewErrNotExist(t string, oid string) error

func NewErrStatusCode

func NewErrStatusCode(statusCode int, format string, a ...any) error

Types

type ErrExitCode added in v0.19.0

type ErrExitCode struct {
	Code    int
	Message string
}

func (*ErrExitCode) Error added in v0.19.0

func (err *ErrExitCode) Error() string

type ErrMismatchedObject

type ErrMismatchedObject struct {
	Want string
	Got  string
}

func (*ErrMismatchedObject) Error

func (err *ErrMismatchedObject) Error() string

type ErrNotExist

type ErrNotExist struct {
	T   string
	OID string
}

func (*ErrNotExist) Error

func (err *ErrNotExist) Error() string

type ErrStatusCode

type ErrStatusCode struct {
	Code    int
	Message string
}

func (*ErrStatusCode) Error

func (err *ErrStatusCode) Error() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL