Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHTTPErrorF ¶
NewHTTPErrorF creates a new HTTPError instance from a format string.
func NewHTTPErrorWithInternal ¶
NewHTTPErrorWithInternal creates a new HTTPError instance from a format string and an error object.
func NilArgError ¶
NilArgError creates a new HTTPError instance with "'name' cannot be nil" error message.
Types ¶
type LocationError ¶
type LocationError struct {
// contains filtered or unexported fields
}
func NewLocationError ¶
func NewLocationError(err error) LocationError
func NewLocationErrorWithLevel ¶
func NewLocationErrorWithLevel(err error, level uint) LocationError
func (LocationError) Error ¶
func (e LocationError) Error() string
Click to show internal directories.
Click to hide internal directories.