errors

package
v0.0.0-...-4c0c8b4 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrNotFound

type ErrNotFound struct {
	// UID unique object identifier.
	ID string
	// Type of the object which wasn't found
	Type string
}

ErrNotFound error type for objects not found

func (*ErrNotFound) Error

func (e *ErrNotFound) Error() string

type ErrNotSupported

type ErrNotSupported struct {
	Type      string
	Operation interface{}
}

ErrNotSupported is error type when an operation is not supposed

func (*ErrNotSupported) Error

func (e *ErrNotSupported) Error() string

type ErrValidateVol

type ErrValidateVol struct {
	// UID unique object identifier.
	ID string
	// Error is the underlying error
	Cause string
}

ErrValidateVol is error type when a volume fails validation

func (*ErrValidateVol) Error

func (e *ErrValidateVol) Error() string

Jump to

Keyboard shortcuts

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