errors

package
v1.2.2-dev.106 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewErrAddressableInUse

func NewErrAddressableInUse(name string) error

func NewErrAddressableNotFound

func NewErrAddressableNotFound(id string, name string) error

func NewErrBadRequest

func NewErrBadRequest(invalid string) error

func NewErrDeviceProfileInvalidState

func NewErrDeviceProfileInvalidState(id string, name string, description string) error

func NewErrDeviceProfileMarshalJson

func NewErrDeviceProfileMarshalJson(message string) error

func NewErrDeviceProfileNotFound

func NewErrDeviceProfileNotFound(id string, name string) error

func NewErrDuplicateName

func NewErrDuplicateName(message string) error

func NewErrEmptyAddressableName

func NewErrEmptyAddressableName() error

func NewErrEmptyDeviceProfileName

func NewErrEmptyDeviceProfileName() error

func NewErrItemNotFound

func NewErrItemNotFound(key string) error

func NewErrLimitExceeded

func NewErrLimitExceeded(limit int) error

Types

type ErrAddressableInUse

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

func (ErrAddressableInUse) Error

func (e ErrAddressableInUse) Error() string

type ErrAddressableNotFound

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

func (ErrAddressableNotFound) Error

func (e ErrAddressableNotFound) Error() string

type ErrBadRequest

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

func (ErrBadRequest) Error

func (e ErrBadRequest) Error() string

type ErrDeviceProfileInvalidState

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

func (ErrDeviceProfileInvalidState) Error

type ErrDeviceProfileMarshalJson

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

func (ErrDeviceProfileMarshalJson) Error

type ErrDeviceProfileNotFound

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

func (ErrDeviceProfileNotFound) Error

func (e ErrDeviceProfileNotFound) Error() string

type ErrDuplicateName

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

func (ErrDuplicateName) Error

func (e ErrDuplicateName) Error() string

type ErrEmptyAddressableName

type ErrEmptyAddressableName struct {
}

func (ErrEmptyAddressableName) Error

func (e ErrEmptyAddressableName) Error() string

type ErrEmptyDeviceProfileName

type ErrEmptyDeviceProfileName struct {
}

func (ErrEmptyDeviceProfileName) Error

type ErrEmptyFile

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

func NewErrEmptyFile

func NewErrEmptyFile(fileType string) ErrEmptyFile

func (ErrEmptyFile) Error

func (e ErrEmptyFile) Error() string

type ErrItemNotFound

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

func (ErrItemNotFound) Error

func (e ErrItemNotFound) Error() string

type ErrLimitExceeded

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

func (ErrLimitExceeded) Error

func (e ErrLimitExceeded) Error() string

type ErrNameCollision

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

func NewErrNameCollision

func NewErrNameCollision(name, fromID, toID string) ErrNameCollision

func (ErrNameCollision) Error

func (e ErrNameCollision) Error() string

Jump to

Keyboard shortcuts

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