Exceptions
pynetft.NetFTError
class NetFTError(Exception);Base classes: Exception
pynetft.ConfigurationError
class ConfigurationError(NetFTError, ValueError);Base classes: NetFTErrorValueError
pynetft.DiscoveryError
class DiscoveryError(NetFTError, ConnectionError);Base classes: NetFTErrorConnectionError
pynetft.NotConnectedError
class NotConnectedError(NetFTError, ConnectionError);Base classes: NetFTErrorConnectionError
pynetft.SensorFaultError
class SensorFaultError(NetFTError);Base classes: NetFTError
Member functions
SensorFaultError
__init__(fault_code: FaultCode, health: Health) -> None;| Parameter | Type | Default |
|---|---|---|
fault_code | FaultCode | Required |
health | Health | Required |
Returns: None
pynetft.CallbackError
class CallbackError(NetFTError);Base classes: NetFTError
Catch the narrowest exception appropriate to the operation. SensorFaultError carries structured fault_code and final health; CallbackError.__cause__ retains the callback or dispatcher exception. Exception text is diagnostic and must not be parsed as a stable interface.