mist_api_error

package
v0.1.43 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProcessApiError

func ProcessApiError(ctx context.Context, status_code int, body io.ReadCloser, err error) string

func ProcessApiErrorInventory

func ProcessApiErrorInventory(ctx context.Context, status_code int, body io.ReadCloser) interface{}

Types

type ErrorDetail

type ErrorDetail struct {
	Detail string `json:"detail,omitempty"`
}

Jump to

Keyboard shortcuts

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