errors

package
Version: v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2015 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(message string) error

func NewDatastoreError

func NewDatastoreError(datastore, operation, reason string) error

func NewGovcNotFoundError

func NewGovcNotFoundError(path string) error

func NewGuestError

func NewGuestError(vm, operation, reason string) error

func NewIncompleteVsphereConfigError

func NewIncompleteVsphereConfigError(component string) error

func NewInvalidLoginError

func NewInvalidLoginError() error

func NewInvalidStateError

func NewInvalidStateError(vm string) error

func NewVmError

func NewVmError(operation, vm, reason string) error

func NewWithError

func NewWithError(message string, err error) error

func NewWithFmt

func NewWithFmt(message string, args ...interface{}) error

Types

type DatastoreError

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

func (*DatastoreError) Error

func (err *DatastoreError) Error() string

type GovcNotFoundError

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

func (*GovcNotFoundError) Error

func (err *GovcNotFoundError) Error() string

type GuestError

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

func (*GuestError) Error

func (err *GuestError) Error() string

type IncompleteVsphereConfigError

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

func (*IncompleteVsphereConfigError) Error

func (err *IncompleteVsphereConfigError) Error() string

type InvalidLoginError

type InvalidLoginError struct {
}

func (*InvalidLoginError) Error

func (err *InvalidLoginError) Error() string

type InvalidStateError

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

func (*InvalidStateError) Error

func (err *InvalidStateError) Error() string

type VmError

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

func (*VmError) Error

func (err *VmError) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL