errs

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrNilValue represents an error indicating a nil value was encountered where it is not allowed.
	ErrNilValue = errors.New("nil value")

	// ErrInvalidValue indicates that an operation encountered a value that is considered invalid or inappropriate.
	ErrInvalidValue = errors.New("invalid value")

	// ErrFieldRequired represents an error when a required field is missing
	ErrFieldRequired = errors.New("required field")

	// ErrFieldInvalidValue represents an error when a field contains an invalid value
	ErrFieldInvalidValue = errors.New("invalid value for field")

	// ErrBackendNotConfigured represents an error when trying to use a backend that hasn't been properly configured
	ErrBackendNotConfigured = errors.New("backend not configured")

	// ErrUnknown represents an error indicating an unknown or unspecified condition occurred.
	ErrUnknown = errors.New("unknown")

	// ErrUnknownTokenType indicates an error when an undefined or unrecognized token type is encountered.
	ErrUnknownTokenType = errors.New("unknown token type")

	// ErrUnknownTokenScope is returned when an unrecognized or undefined token scope is encountered.
	ErrUnknownTokenScope = errors.New("unknown token scope")

	// ErrUnknownAccessLevel indicates an error caused by encountering an undefined or unrecognized access level.
	ErrUnknownAccessLevel = errors.New("unknown access level")
)

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