Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPError ¶
type HTTPError interface {
// Message is a textual description of the problem ready to send to the
// user
Message() string
// HTTPCode defines the code used when this error is returned over the HTTP
// protocol
HTTPCode() int
// Code is a unique internal error code that can be used to exactly
// aggregate single errors.
Code() int
// Inner is the internal error that caused this httpError
Inner() error
error
}
HTTPError collects useful meta informations for network applications relying on the HTTP protocol
Click to show internal directories.
Click to hide internal directories.