-
Notifications
You must be signed in to change notification settings - Fork 72
Closed
Description
When there are SPI failures (which I think are mostly down to underpowering the device or needing more ballast capacitors), the system raises a RuntimeError. Just so these can be handled differently (ie got wrong message back, or failed to get acknowledgment), could they be raised as an IOError?
Example:
| raise RuntimeError("ESP32 timed out on SPI select") |
This is so they are distinctly different from the socket type errors, like failed to connect to host (less hardware, more wrong hostname/ip):
| raise RuntimeError("Failed to connect to host", host) |
Metadata
Metadata
Assignees
Labels
No labels