errors

package
v8.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2019 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 ErrExists

type ErrExists struct {
	// ID unique object identifier.
	ID string
	// Type of the object which already exists
	Type string
}

ErrExists type for objects already present

func (*ErrExists) Error

func (e *ErrExists) Error() string

type ErrNotFound

type ErrNotFound struct {
	// ID 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{}

ErrNotSupported error type for APIs that are not supported

func (*ErrNotSupported) Error

func (e *ErrNotSupported) Error() string

Jump to

Keyboard shortcuts

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