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.
|
|
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 ErrCannotForwardRequest = errors.New("driver is not able to forward requests") var ErrCannotForget = errors.New("forget not supported on this bridge type")
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")
var ErrSceneInvalidInterval = errors.New("scene interval must be 0 (=disabled) or greater") var ErrSceneNoRoles = errors.New("scene cannot have zero rules") var ErrSceneRoleNoStates = errors.New("scene rule has no states") var ErrSceneRoleUnsupportedOrdering = errors.New("scene rule has an unsupported ordering") var ErrSceneRoleUnknownEffect = errors.New("scene rule has an unknown effect") var ErrSceneRoleUnknownPowerMode = errors.New("scene rule has an unknown power mode")
|