errors

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApiError

func ApiError(h *http.Response, e error) error

Types

type ProxmoxError

type ProxmoxError struct {
	StatusCode int
	Err        string
	Message    string
}

func (*ProxmoxError) Error

func (e *ProxmoxError) Error() string

type ProxmoxErrorBody

type ProxmoxErrorBody struct {
	Data   string            `json:"data"`
	Errors map[string]string `json:"errors"`
}

Jump to

Keyboard shortcuts

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