errors

package
v2.4.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2020 License: Apache-2.0 Imports: 1 Imported by: 26

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 ErrNotImplemented added in v1.1.1

type ErrNotImplemented struct {
}

ErrNotImplemented error type for methods not implemented

func (*ErrNotImplemented) Error added in v1.1.1

func (e *ErrNotImplemented) Error() string

type ErrNotSupported added in v1.4.0

type ErrNotSupported struct {
	// Feature which is not supported
	Feature string
	// Reason why feature is not supported (optional)
	Reason string
}

ErrNotSupported error type for methods not supported

func (*ErrNotSupported) Error added in v1.4.0

func (e *ErrNotSupported) Error() string

Jump to

Keyboard shortcuts

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