package
0.0.0-20200413215053-649f5a113e49
Repository: https://github.com/kalinin-andrey/rti-testing.git
Documentation: pkg.go.dev

# Functions

BadRequest creates a new error response representing a bad request (HTTP 400).
Forbidden creates a new error response representing an authorization failure (HTTP 403).
Handler creates a middleware that handles panics and errors encountered during HTTP request processing.
InternalServerError creates a new error response representing an internal server error (HTTP 500).
InvalidInput creates a new error response representing a data validation error (HTTP 400).
NotFound creates a new error response representing a resource-not-found error (HTTP 404).
No description provided by the author
No description provided by the author
Unauthorized creates a new error response representing an authentication/authorization failure (HTTP 401).

# Structs

Response is the response that represents an error.