Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrAlreadyBootstrapped = errors.New("already bootstrapped") // Permissions ErrGroupAlreadyExists = errors.New("group name already exists") ErrInvalidInput = NewCustomError(ErrTypeInvalidInput, "") ErrNotFound = NewCustomError(ErrTypeNotFound, "") )
Errors
Functions ¶
This section is empty.
Types ¶
type CustomError ¶
func NewCustomError ¶
func NewCustomError(t ErrorType, message string) *CustomError
func (*CustomError) Error ¶
func (e *CustomError) Error() string
func (*CustomError) Is ¶
func (e *CustomError) Is(target error) bool
Click to show internal directories.
Click to hide internal directories.