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") 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
Click to show internal directories.
Click to hide internal directories.