1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//! Driver-layer error type.
//!
//! Ports `ados.sdk.drivers.errors`. A driver raises these for predictable
//! failure modes so the host can translate them into `sensor.<id>.error`
//! events and surface a meaningful reason in the GCS detail page. Unhandled
//! errors fall through to the plugin supervisor's circuit breaker, exactly as
//! the Python base `DriverError` chains under `PluginError`.
use Error;
/// A driver-layer failure. The variants mirror the Python `DriverError`
/// subclasses; [`DriverError::Other`] carries any predictable, recoverable
/// condition that does not fit the named kinds.
/// Result alias for driver methods.
pub type DriverResult<T> = ;