errors

package
v1.2.2-dev.21 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewErrCommandNotAssociatedWithDevice

func NewErrCommandNotAssociatedWithDevice(commandID string, deviceID string) error

func NewErrDeviceLocked

func NewErrDeviceLocked(name string) error

func NewErrExtractingInfoFromRequest

func NewErrExtractingInfoFromRequest() error

NewErrExtractingInfoFromRequest returns the relevant, properly- constructed error type.

func NewErrParsingOriginalRequest

func NewErrParsingOriginalRequest(invalid string) error

NewErrParsingOriginalRequest returns the relevant, properly- constructed error type.

Types

type ErrBadRequest

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

ErrBadRequest is a struct that serves as the value receiver for Error as defined for NewErrParsingOriginalRequest

func (ErrBadRequest) Error

func (e ErrBadRequest) Error() string

Error returns a meaningful string message describing error details.

type ErrCommandNotAssociatedWithDevice

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

func (ErrCommandNotAssociatedWithDevice) Error

type ErrDeviceLocked

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

func (ErrDeviceLocked) Error

func (e ErrDeviceLocked) Error() string

type ErrExtractingInfoFromRequest

type ErrExtractingInfoFromRequest struct {
}

ErrExtractingInfoFromRequest is a struct that serves as the value receiver for Error as defined for NewErrExtractingInfoFromRequest

func (ErrExtractingInfoFromRequest) Error

Error returns a meaningful string message describing error details.

Jump to

Keyboard shortcuts

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