16 lines
533 B
Go
16 lines
533 B
Go
package resolver
|
|
|
|
import "errors"
|
|
|
|
// ErrCannotResolve is returned when a resolver constructor is at its wit's end
|
|
var ErrCannotResolve = errors.New("Cannot resolve due to invalid arguments")
|
|
|
|
// ErrNotImplemented is for TODOs
|
|
var ErrNotImplemented = errors.New("Resolver not implemented")
|
|
|
|
// ErrUnauthorized is when a guest acts like they own the place
|
|
var ErrUnauthorized = errors.New("Unauthorized")
|
|
|
|
// ErrPermissionDenied is returned when users act above their station
|
|
var ErrPermissionDenied = errors.New("Permission denied")
|