tholaerr

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2021 License: BSD-2-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsComponentNotFoundError

func IsComponentNotFoundError(err error) bool

IsComponentNotFoundError returns if the error is an ComponentNotFoundError

func IsDidNotMatchError

func IsDidNotMatchError(err error) bool

IsDidNotMatchError returns if the error is an ComponentNotFoundError

func IsNetworkError

func IsNetworkError(err error) bool

IsNetworkError returns true if an error is a network error.

func IsNotFoundError

func IsNotFoundError(err error) bool

IsNotFoundError returns if the error is an NotFoundError

func IsNotImplementedError

func IsNotImplementedError(err error) bool

IsNotImplementedError returns if the error is an NotImplementedError

func IsPreConditionError

func IsPreConditionError(err error) bool

IsPreConditionError returns if the error is an PreConditionError

func IsTooManyRequestsError

func IsTooManyRequestsError(err error) bool

IsTooManyRequestsError returns if the error is an TooManyRequestsError

func NewComponentNotFoundError

func NewComponentNotFoundError(msg string) error

NewComponentNotFoundError returns an ComponentNotFoundError

func NewDidNotMatchError

func NewDidNotMatchError(msg string) error

NewDidNotMatchError returns an DidNotMatchError

func NewHTTPError

func NewHTTPError(msg string) error

NewHTTPError returns an http error.

func NewNotFoundError

func NewNotFoundError(msg string) error

NewNotFoundError returns an NotFoundError

func NewNotImplementedError

func NewNotImplementedError(msg string) error

NewNotImplementedError returns an NotImplementedError

func NewPreConditionError

func NewPreConditionError(msg string) error

NewPreConditionError returns an PreConditionError

func NewSNMPError

func NewSNMPError(msg string) error

NewSNMPError returns a new SNMPError

func NewTooManyRequestsError

func NewTooManyRequestsError(msg string) error

NewTooManyRequestsError returns an TooManyRequestsError

Types

type ComponentNotFoundError

type ComponentNotFoundError struct {
	// contains filtered or unexported fields
}

ComponentNotFoundError occurs when the specified component was not found

type DidNotMatchError

type DidNotMatchError struct {
	// contains filtered or unexported fields
}

DidNotMatchError occurs when the value didn't match

type HTTPError

type HTTPError struct {
	// contains filtered or unexported fields
}

HTTPError is an error returned by snmp functions.

type NotFoundError

type NotFoundError struct {
	// contains filtered or unexported fields
}

NotFoundError occurs when something is not found.

type NotImplementedError

type NotImplementedError struct {
	// contains filtered or unexported fields
}

NotImplementedError occurs when a condition for an action is not fulfilled.

type OutputError

type OutputError struct {
	Error string `json:"error" xml:"error"`
}

OutputError

OutputError embeds all error messages which occur in requests on the API.

swagger:model

type PreConditionError

type PreConditionError struct {
	// contains filtered or unexported fields
}

PreConditionError occurs a condition for an action is not fulfilled.

type SNMPError

type SNMPError struct {
	// contains filtered or unexported fields
}

SNMPError is an error returned by snmp functions.

type TooManyRequestsError

type TooManyRequestsError struct {
	// contains filtered or unexported fields
}

TooManyRequestsError occurs when there were too many request sent to the api.

Jump to

Keyboard shortcuts

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