core

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrDuplicateKey is returned when a duplicate key is detected during an indexing operation.
	ErrDuplicateKey = errors.New("duplicate key")

	// ErrItemNotFound is returned when an item is not found in a bucket.
	ErrItemNotFound = errors.New("item not found")

	// ErrKeyNotFound is returned when a key is not found during an indexing operation.
	ErrKeyNotFound = errors.New("key not found")

	// ErrMalformedKey is returned when a key is malformed during an indexing operation.
	ErrMalformedKey = errors.New("malformed key")

	// ErrMultipleItemsFound is returned when multiple items are found in a bucket.
	ErrMultipleItemsFound = errors.New("multiple items found")

	// ErrNoIndices is returned when an operation is performed on a bucket without any indices.
	ErrNoIndices = errors.New("no indices given")

	// ErrNoItem is returned when an operation is performed on a bucket without an item.
	ErrNoItem = errors.New("no item given")

	// ErrNoIndex is returned when an operation is performed on a bucket without an index.
	ErrNoIndex = errors.New("no index given")

	// ErrNoKey is returned when an operation is performed on a bucket without a key.
	ErrNoKey = errors.New("no key given")

	// ErrNoQuery is returned when an operation is performed on a bucket without a query.
	ErrNoQuery = errors.New("no query given")

	// ErrNoValue is returned when an operation is performed on a bucket without a value.
	ErrNoValue = errors.New("no value given")

	// ErrNotReady is returned when an operation is performed on a bucket that is not ready.
	ErrNotReady = errors.New("not ready")
)

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