Documentation ¶
Overview ¶
Package customerrors contains custom error types and values.
Error types are used by functions to indicate that an error has occurred. The error type is a string that describes the error.
Error values are used by functions to indicate that an error has occurred. The error value is an instance of the error type.
The variables declared in this file are error values.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrInsufficientReady = errors.New("insufficient ready")
ErrInsufficientReady is an error returned when there is not enough ready.
var ErrInvalidObjectId = errors.New("invalid object id")
ErrInvalidObjectId is an error returned when an object id is invalid.
var ErrModuleNameAlreadyExists = errors.New("module name already exists")
ErrModuleNameAlreadyExists is an error returned when a module name already exists.
var ErrModuleNotRegistered = errors.New("can't register module")
ErrModuleNotRegistered is an error returned when a module can't be registered.
var ErrSeedingModule = errors.New("error seeding module")
ErrSeedingModule is an error returned when an error occurs while seeding a module.
var ErrTypeAssersionFailed = errors.New("type assertion failed")
ErrTypeAssersionFailed is an error returned when a type assertion fails.
Functions ¶
This section is empty.
Types ¶
This section is empty.