errors

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrDSNParse           = errors.New("could not parse dsn")
	ErrInvalidDSN         = errors.New("could not parse DSN, critical component missing")
	ErrUnknownScheme      = errors.New("database scheme not handled by this package")
	ErrPathRequired       = errors.New("a path is required for this database scheme")
	ErrReadOnly           = errors.New("cannot perform operation in read-only mode")
	ErrMissingAssociation = errors.New("associated record(s) not cached on model")
	ErrMissingReference   = errors.New("missing id of foreign key reference")
	ErrNotFound           = errors.New("record not found in database")
	ErrNotImplemented     = errors.New("method not implemented for this storage backend")
	ErrNoIDOnCreate       = errors.New("cannot create a resource with an established id")
	ErrMissingID          = errors.New("missing id of resource")
	ErrIDMismatch         = errors.New("id does not match id of prepared resource")
	ErrNoEndpoint         = errors.New("cannot create travel address: no endpoint defined")
)

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