errorx

package
v0.0.0-...-bcfd2cf Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrNotFound generic not found error
	ErrNotFound = errors.New("not found")
	// ErrInvalidArgument generic invalid argument error
	ErrInvalidArgument = errors.New("invalid argument")
	// ErrUnknown generic unknown error
	ErrUnknown = errors.New("unknown")
	// ErrConfig configuration error
	ErrConfig = errors.New("configuration error")
	// ErrAlreadyExists already exists error
	ErrAlreadyExists = errors.New("already exists")
	// ErrEOF error
	ErrEOF = fmt.Errorf("EOF: %w", io.EOF)
	// ErrOutOfRange index out of range error
	ErrOutOfRange = errors.New("out of range")
)
View Source
var (
	// ErrBlockNotFound block not found error
	ErrBlockNotFound = fmt.Errorf("block %w", ErrNotFound)
	// ErrTxNotFound tx not found error
	ErrTxNotFound = fmt.Errorf("tx %w", ErrNotFound)
	// ErrClusterNotFound cluster not found error
	ErrClusterNotFound = fmt.Errorf("cluster %w", ErrNotFound)
)
View Source
var (
	// ErrKeyNotFound key not found error
	ErrKeyNotFound = fmt.Errorf("key %w", ErrNotFound)

	// ErrCache error setting cache key
	ErrCache = errors.New("error caching")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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