Commit Graph

4 Commits

Author SHA1 Message Date
Andrew Chow
9d52695699 Add ActionCanceledError, DeviceConnectionError, DeviceBusyError 2019-02-04 10:04:30 -05:00
Andrew Chow
4c3a6df1b7 Use HWWErrors instead of built-ins 2019-02-04 10:04:30 -05:00
Andrew Chow
b4a95a6610 subclass specific errors so codes and error messages are easy to get
Moves the specific error exceptions to a subclass of a new HWWError.
HWWError has methods that make it easy to get the error message and
code generically for all exceptions
2019-02-04 10:04:30 -05:00
Andrew Chow
32e56c7b58 consolidate errors to errors.py 2019-02-04 10:04:30 -05:00