You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
1.2 KiB
24 lines
1.2 KiB
package models
|
|
|
|
import "errors"
|
|
|
|
var ErrNotFound = errors.New("not found")
|
|
var ErrInvalidName = errors.New("invalid name")
|
|
var ErrBadInput = errors.New("bad input")
|
|
var ErrBadColor = errors.New("bad color")
|
|
var ErrInternal = errors.New("internal")
|
|
var ErrUnknownColorFormat = errors.New("unknown color format")
|
|
var ErrUnknownDriver = errors.New("unknown driver")
|
|
|
|
var ErrMissingToken = errors.New("driver is missing authentication information")
|
|
var ErrIncorrectToken = errors.New("driver is not accepting authentication information")
|
|
var ErrUnexpectedResponse = errors.New("driver api returned unexpected response (wrong driver selected?)")
|
|
var ErrBridgeSearchFailed = errors.New("bridge search failed")
|
|
var ErrAddressOnlyDryRunnable = errors.New("this address may only be used for a dry run")
|
|
|
|
var ErrInvalidAddress = errors.New("invalid mac address")
|
|
var ErrPayloadTooShort = errors.New("payload too short")
|
|
var ErrInvalidPacketSize = errors.New("invalid packet size")
|
|
var ErrReadTimeout = errors.New("read timeout")
|
|
var ErrUnrecognizedPacketType = errors.New("packet type not recognized")
|
|
var ErrBridgeRunningRequired = errors.New("this operation cannot be performed when bridge is not running")
|