errs

package
v0.9.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrAdminUndeletable is returned when an attempt is made to delete an
	// admin user/account/etc.
	ErrAdminUndeletable = errors.New("admin can't be deleted")

	// ErrDataAccess that an error has been reported by the data store.
	ErrDataAccess = errors.New("error reported by the data store")

	// ErrDataAccessCantConnect indicates that an error has been reported by the
	// data store.
	ErrDataAccessCantConnect = errors.New("can't connect to the data store")

	// ErrDataAccessCantInitialize indicates that the data layer can't be
	// initialized.
	ErrDataAccessCantInitialize = errors.New("can't initialize data access layer")

	// ErrNotImplemented indicates that the DAL implementation isn't complete for
	// the invoked method.
	ErrNotImplemented = errors.New("method not implemented")

	// ErrDataAccessNotInitialized indicates that the data layer has not been
	// initialized.
	ErrDataAccessNotInitialized = errors.New("data access layer not initialized")

	// ErrFieldRequired is returned by an insert or update when one of a
	// struct's required field values is empty.
	ErrFieldRequired = errors.New("a required field is missing")
)
View Source
var ErrBundleExists = errors.New("bundle already exists")

ErrBundleExists TBD

View Source
var ErrEmptyBundleName = errors.New("bundle name is empty")

ErrEmptyBundleName indicates...

View Source
var ErrEmptyBundleVersion = errors.New("bundle version is empty")

ErrEmptyBundleVersion indicates...

View Source
var ErrEmptyGroupName = errors.New("group name is empty")

ErrEmptyGroupName indicates...

View Source
var ErrEmptyPermission = errors.New("permission is empty")

ErrEmptyRoleName indicates...

View Source
var ErrEmptyRoleName = errors.New("role name is empty")

ErrEmptyRoleName indicates...

View Source
var ErrEmptyUserAdapter = errors.New("user adapter is empty")

ErrEmptyUserName indicates...

View Source
var ErrEmptyUserEmail = errors.New("user email is empty")

ErrEmptyUserName indicates...

View Source
var ErrEmptyUserID = errors.New("user id is empty")

ErrEmptyUserName indicates...

View Source
var ErrEmptyUserName = errors.New("user name is empty")

ErrEmptyUserName indicates...

View Source
var ErrGroupExists = errors.New("group already exists")

ErrGroupExists TBD

View Source
var ErrNoSuchBundle = errors.New("no such bundle")

ErrNoSuchBundle indicates...

View Source
var ErrNoSuchGroup = errors.New("no such group")

ErrNoSuchGroup indicates...

View Source
var ErrNoSuchRole = errors.New("no such role")

ErrNoSuchRole indicates...

View Source
var ErrNoSuchToken = errors.New("no such token")

ErrNoSuchToken ...

View Source
var ErrNoSuchUser = errors.New("no such user")

ErrNoSuchUser indicates that the user doesn't exist, or doesn't exist in a group.

View Source
var ErrRoleExists = errors.New("role already exists")

ErrRoleExists TBD

View Source
var ErrUserExists = errors.New("user already exists")

ErrUserExists TBD

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