package
Version:
v1.3.0
Opens a new window with list of versions in this module.
Published: May 18, 2022
License: MIT
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
¶
RespondIfError if err != nil, returns the HTTPError and code as API response
no-op if the err is nil
type HTTPError struct {
Message string `json:"message"`
}
HTTPError contains the error message
Source Files
¶
Click to show internal directories.
Click to hide internal directories.