initial commit
This commit is contained in:
14
internal/service/errors.go
Normal file
14
internal/service/errors.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package service
|
||||
|
||||
import "errors"
|
||||
|
||||
var (
|
||||
// ErrRootTenantRequired is returned when no root tenant has been defined for the service.
|
||||
ErrRootTenantRequired = errors.New("root tenant required")
|
||||
|
||||
// ErrPublisherRequired is defined when a publisher is not provided to the service.
|
||||
ErrPublisherRequired = errors.New("publisher required")
|
||||
|
||||
// ErrRoleUnrecognized is returned when no corresponding role was matched.
|
||||
ErrRoleUnrecognized = errors.New("unrecognized role")
|
||||
)
|
||||
Reference in New Issue
Block a user