Enum foxbox_taxonomy::api::Error
[−]
[src]
pub enum Error { GetterDoesNotSupportPolling(Id<Getter>), GetterDoesNotSupportWatching(Id<Getter>), GetterRequiresThresholdForWatching(Id<Getter>), TypeError(TypeError), RangeError(Range), InvalidValue(Value), InternalError(InternalError), }
An error that arose during interaction with either a device, an adapter or the adapter manager
Variants
GetterDoesNotSupportPolling | Attempting to fetch a value from a Channel | |
GetterDoesNotSupportWatching | Attempting to watch a value from a Channel | |
GetterRequiresThresholdForWatching | Attempting to watch all values from a Channel | |
TypeError | Attempting to send a value with a wrong type. | |
RangeError | Attempting to use an inconsistent range. For instance, one with | |
InvalidValue | Attempting to send an invalid value. For instance, a time of day larger than 24h. | |
InternalError | An error internal to the foxbox or an adapter. Normally, these errors should never arise from the high-level API. |