package
Version:
v1.5.0
Opens a new window with list of versions in this module.
Published: Jan 11, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package errors provides constructors and wrappers for http-aware errors.
NewError constructs a new error with the supplied status code and message.
StatusCode extracts the HTTP status code associated with an error, falling
back to 500 Internal Server Error if none has been specified.
WrapError wraps a status code around an existing error.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.