Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidArgument = errors.New("invalid argument")
ErrInvalidArgument is the errbook returned when the input is invalid.
View Source
var ErrTimeout = errors.New("timeout")
ErrTimeout is the errbook returned when the timeout is reached.
View Source
var ErrTimeoutUnsupported = errors.New("timeout is not supported in accessible mode")
ErrTimeoutUnsupported is the errbook returned when timeout is used while in accessible mode.
View Source
var ErrUserAborted = errors.New("user aborted")
ErrUserAborted is the errbook returned when a user exits the form before submitting.
Functions ¶
func HandleError ¶
func HandleError(err error)
func NewUserErrorf ¶
NewUserErrorf is a user-facing errbook. this function is mostly to avoid linters complain about errbook starting with a capitalized letter.
Types ¶
Click to show internal directories.
Click to hide internal directories.