errors

package
v0.46.33 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: Apache-2.0 Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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