package
Version:
v0.0.0-...-a297e19
Opens a new window with list of versions in this module.
Published: Nov 14, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
NewWithHTTPCode creates a new error with HTTP code
type Error struct {
HTTPCode *int `json:"-"`
Code int `json:"code"`
Message string `json:"message"`
}
Error is the error message
Error returns the error message
GetHTTPCode returns the HTTP code
Source Files
¶
Click to show internal directories.
Click to hide internal directories.