errors

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorParsingBody                    error = fmt.Errorf("could not read the response body")
	ErrorUnmarshallingBody              error = fmt.Errorf("could not unmarshal the response body")
	ErrorCookieSessionIDNotFound        error = fmt.Errorf("session ID cookie not found")
	ErrorNoDefinitionIDProvided         error = fmt.Errorf("no definition ID provided")
	ErrorNoPoliciesProvided             error = fmt.Errorf("no policies provided")
	ErrorMarshallingData                error = fmt.Errorf("could not marshal data")
	ErrorNoIDProvided                   error = fmt.Errorf("no ID provided")
	ErrorNoNameProvided                 error = fmt.Errorf("no name provided")
	ErrorNoServerNamesProvided          error = fmt.Errorf("no server names provided")
	ErrorNotFound                       error = fmt.Errorf("resource not found")
	ErrorInvalidDeviceType              error = fmt.Errorf("invalid device type")
	ErrorApplicationListAlreadyIncluded error = fmt.Errorf("application list is already included in give approute policy")
	ErrorNoApplicationsProvided         error = fmt.Errorf("no applications provided")
	ErrorInvalidProbeType               error = fmt.Errorf("invalid probe type provided")
	ErrorInvalidProbeValue              error = fmt.Errorf("invalid probe value provided")
	ErrorVmanageUnavailable             error = fmt.Errorf("vManage Server is not ready or temporarily unavailable")
	ErrorTooManyFailedAttempts          error = fmt.Errorf("too many failed attempts")
)

Functions

This section is empty.

Types

type VmanageError

type VmanageError struct {
	Type    string `json:"type"`
	Message string `json:"message"`
	Details string `json:"details"`
	Code    string `json:"code"`
}

func (*VmanageError) Error

func (v *VmanageError) Error() string

Jump to

Keyboard shortcuts

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