Documentation ¶
Overview ¶
Package errors provides facilities with error handling.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Http ¶
Http represents an HTTP error. It implements the error interface.
Each HTTP error has a Code and a message explaining what went wrong.
type ValidationError ¶
type ValidationError struct {
Message string
}
ValidationError is an error implementation used whenever a validation failure occurs.
func (*ValidationError) Error ¶
func (err *ValidationError) Error() string
Click to show internal directories.
Click to hide internal directories.