errors

package
v0.0.0-...-a036c53 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrEmpty        = errors.Register(groupCodespace, 2, "value is empty")
	ErrDuplicate    = errors.Register(groupCodespace, 3, "duplicate value")
	ErrMaxLimit     = errors.Register(groupCodespace, 4, "limit exceeded")
	ErrType         = errors.Register(groupCodespace, 5, "invalid type")
	ErrInvalid      = errors.Register(groupCodespace, 6, "invalid value")
	ErrUnauthorized = errors.Register(groupCodespace, 7, "unauthorized")
	ErrModified     = errors.Register(groupCodespace, 8, "modified")
	ErrExpired      = errors.Register(groupCodespace, 9, "expired")
)
View Source
var (
	// ErrORMIteratorDone defines an error when an iterator is done
	ErrORMIteratorDone = errors.Register(ormCodespace, 11, "iterator done")

	// ErrORMInvalidIterator defines an error for an invalid iterator
	ErrORMInvalidIterator = errors.Register(ormCodespace, 12, "invalid iterator")

	// ErrORMUniqueConstraint defines an error when a value already exists at a given key
	ErrORMUniqueConstraint = errors.Register(ormCodespace, 13, "unique constraint violation")

	// ErrORMInvalidArgument defines an error when an invalid argument is provided as part of ORM functions
	ErrORMInvalidArgument = errors.Register(ormCodespace, 14, "invalid argument")

	// ErrORMKeyMaxLength defines an error when a key exceeds max length
	ErrORMKeyMaxLength = errors.Register(ormCodespace, 15, "key exceeds max length")

	// ErrORMEmptyKey defines an error for an empty key
	ErrORMEmptyKey = errors.Register(ormCodespace, 47, "cannot use empty key")
)
View Source
var ErrInvalidDecString = errors.Register(mathCodespace, 10, "invalid decimal string")

ErrInvalidDecString defines an error for an invalid decimal string

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