errors

package
v0.0.0-...-6f2a98a Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2016 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// StoreKeyNotFound is an error returned by the API when the requested key is not found in the store
	StoreKeyNotFound = errcode.Register("store", errcode.ErrorDescriptor{
		Value:       "KEYNOTFOUND",
		Message:     "Key not found in store",
		Description: "Key does not exist in the K/V store",
	})

	// StoreKeyModified is an error returned by the API when the key was modified during an atomic operation
	StoreKeyModified = errcode.Register("store", errcode.ErrorDescriptor{
		Value:       "KEYMODIFIED",
		Message:     "Unable to complete atomic operation, key modified",
		Description: "Key was modified while operation was being performed",
	})
)

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