Files
Helmholtz_Test_Bench/src/exceptions.py
T

14 lines
385 B
Python

class ProxyNotOwnedException(Exception):
"""Should not occur in correct operation. For whatever reason, this means the proxy was invalidated."""
pass
class DeviceAccessError(Exception):
"""General error indicating that HW access failed."""
pass
class DeviceBusy(DeviceAccessError):
"""Error thrown when the HW proxy (i.e. access) cannot be acquired"""
pass