package
Version:
v0.0.0-...-e478a94
Opens a new window with list of versions in this module.
Published: Nov 25, 2020
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
var (
ErrUnauthorized = newError("Unauthorized")
ErrBadRequest = newError("Body invalid")
ErrForbidden = newError("Forbidden")
ErrNotFound = newError("Resource not found")
ErrRequestTimeout = newError("Timeout")
)
type HTTPError struct {
Message string `json:"message"`
}
HTTPError is custom HTTP error for API
Source Files
¶
Click to show internal directories.
Click to hide internal directories.