errors

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrIndexNotFound          = errors.New("index not found")
	ErrInvalidMapping         = errors.New("invalid mapping")
	ErrDocumentNotFound       = errors.New("document not found")
	ErrIndexAlreadyExists     = errors.New("the index already exists")
	ErrIndexCloneNotSupported = errors.New("the index don't support clone")
	ErrBulkDataFormat         = errors.New("error bulk data format")
)

logic error.

View Source
var (
	ErrKeyNotFound      = errors.New("Key not found")
	ErrEmptyKey         = errors.New("Key cannot be empty")
	ErrKeyValueNotMatch = errors.New("Keys and values not match")
)

underlying db error.

Functions

func WithStack

func WithStack(err error) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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