api

package
v1.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2025 License: Apache-2.0 Imports: 5 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrExtraction = goerrors.New("api error extraction error")
)

Functions

func ExtractError

func ExtractError(statusCode int, response any) error

ExtractError provides a response type agnostic way of extracting a human readable error from an API.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL