package
Version:
v0.29.0
Opens a new window with list of versions in this module.
Published: Oct 16, 2025
License: Apache-2.0
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
¶
Package httperror defines functionality for handling HTTP errors
NewHTTPError creates a new HTTPError based on the statuscode and body from a
failed http call.
type HTTPError struct {
StatusCode int
Body string
}
HTTPError represents an error that occurred when interacting with the Styra
API.
Error implements the error interface.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.