forked from zietzm/Helmholtz_Test_Bench
19 lines
511 B
Python
19 lines
511 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
|
|
|
|
|
|
class MagFieldOutOfBounds(Exception):
|
|
"""Set magnetic field must be a positive number between 0 and 200µT!"""
|
|
pass
|