Documentation
¶
Overview ¶
Package errs implements a user error abstraction.
This helps programs determine what errors should be returned to the user, such as configuration or input validation errors, and what errors are actual system errors.
This should be replaced with https://godoc.org/golang.org/x/xerrors.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsUserError ¶
IsUserError returns true if the given error is a user error.
func NewUserErrorf ¶
NewUserErrorf returns a new formatted user error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.