errors

package
v0.3.0-rc1 Latest Latest
Warning

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

Go to latest
Published: May 27, 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 added in v0.3.0

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 added in v0.3.0

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

func (*VMError) Error added in v0.3.0

func (err *VMError) Error() string

Jump to

Keyboard shortcuts

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