exceptions module¶
-
class
zaber.serial.TimeoutError¶ Bases:
exceptions.ExceptionRaised when a read operation exceeded its specified time limit.
-
class
zaber.serial.UnexpectedReplyError(message, reply=None)¶ Bases:
exceptions.ExceptionRaised when a reply was read from an unexpected device.
Parameters: - message – The error message to display.
- reply – The unexpected reply which caused this exception to be raised.
Notes
This exception preserves the unexpected reply for which it was thrown. You can access it through the reply attribute.