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 CompositeError ¶
func (*CompositeError) Error ¶
func (err *CompositeError) Error() string
type ConflictError ¶
type ConflictError ValidationError
func (*ConflictError) Error ¶
func (err *ConflictError) Error() string
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 NotAuthorizedError ¶
type NotAuthorizedError ValidationError
func (*NotAuthorizedError) Error ¶
func (err *NotAuthorizedError) Error() string
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.