package
0.1.7
Repository: https://github.com/soukengo/gopkg.git
Documentation: pkg.go.dev

# Functions

BadRequest new BadRequest error that is mapped to a 400 response.
ClientClosed new ClientClosed error that is mapped to an HTTP 499 response.
No description provided by the author
Conflict new Conflict error that is mapped to a 409 response.
Forbidden new Forbidden error that is mapped to a 403 response.
No description provided by the author
GatewayTimeout new GatewayTimeout error that is mapped to an HTTP 504 response.
InternalServer new InternalServer error that is mapped to a 500 response.
IsBadRequest determines if err is an error which indicates a BadRequest error.
IsClientClosed determines if err is an error which indicates a IsClientClosed error.
IsConflict determines if err is an error which indicates a Conflict error.
IsForbidden determines if err is an error which indicates a Forbidden error.
IsGatewayTimeout determines if err is an error which indicates a GatewayTimeout error.
IsInternalServer determines if err is an error which indicates an Internal error.
IsNotFound determines if err is an error which indicates an NotFound error.
IsServiceUnavailable determines if err is an error which indicates an Unavailable error.
IsUnauthorized determines if err is an error which indicates an Unauthorized error.
No description provided by the author
No description provided by the author
No description provided by the author
NotFound new NotFound error that is mapped to a 404 response.
No description provided by the author
ServiceUnavailable new ServiceUnavailable error that is mapped to an HTTP 503 response.
Unauthorized new Unauthorized error that is mapped to a 401 response.

# Structs

No description provided by the author

# Type aliases

Frame represents a program counter inside a stack frame.