
The highest tagged major version is
v4.
package
Version:
v3.0.1
Opens a new window with list of versions in this module.
Published: Jan 19, 2024
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type HTTPError struct {
Code int
Cause error
Message string
Description interface{}
}
HTTPError represents an error that occurred while handling a request.
New creates a new HTTPError instance.
Wrap creates a new HTTPError instance with wrap origin error.
Error makes it compatible with `error` interface.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.