Repository navigation
Closed
Labels
Milestone
Description
Follow up to #1025. All interfaces need to be changed:
- ics_neovi -> @felixdivo Specific Exceptions: Adapting ics_neovi #1073; fix in ICSOperationError base exception class should be CanOperationError #1080
- ixxat -> @felixdivo already done in the original Add specific exceptions #1025
- kvaser -> @felixdivo Specific Exceptions: Adapting kvaser #1074
- neousys -> @felixdivo Specific Exceptions: Adapting neousys (+ bugfixes & simplifications) #1076
- pcan -> @felixdivo Specific Exceptions: Adapting pcan interface #1152
- seeedstudio -> @felixdivo Specific Exceptions: Adapting seeedstudio interface #1090
- serial -> @felixdivo Specific Exceptions: Adapting serial interface #1088
- socketcan -> @felixdivo Specific Exceptions: Adapting socketcan interface #1087
- systec -> @felixdivo Specific Exceptions: Adapting systec interface #1158
- udp_multicast -> @felixdivo Specific Exceptions: Adapting udp_multicast interface #1089
- usb2can -> @felixdivo Specific Exceptions: Adapting usb2can interface (+ simplify + partially type) #1091
- vector -> @felixdivo already started in the original Add specific exceptions #1025; fixed in Fix VectorError bug #1052; completed in Specific Exceptions: Adapting vector interface #1083
- canalystii -> @projectgus canalystii: Replace binary library with python driver #1127
- cantact -> @felixdivo Specific Exceptions: Adapting cantact interface #1153
- gs_usb -> @felixdivo Specific Exceptions: Adapting gs_usb #1168
- iscan -> @felixdivo Specific Exceptions: Adapting iscan interface (+ add typing) #1092
- nixnet -> @felixdivo Specific Exceptions: Adapting nixnet interface #1154
- nican -> @felixdivo Specific Exceptions: Adapting nican interface (+ add some typing) #1100
- robotell -> @felixdivo Specific Exceptions: Adapting robotell interface #1155
- slcan -> @felixdivo Specific Exceptions: Adapting slcan interface #1156 and Complete broken PR #1156 (Specific Exceptions: Adapting slcan interface) #1166
- virtual -> @felixdivo Specific Exceptions: Adapting virtual #1079
Activity
zariiii9003 commentedon Jun 3, 2021
@felixdivo can you summarize the necessary changes?
felixdivo commentedon Jun 5, 2021
Sure: #1025 added subclass exceptions to
can.CanError, which should now be used by the interfaces. One should go trough the interfaces one by one and replace any use ofcan.CanErrorby some more specific exception type (where applicable).Does that help? :) If you want to help, just add your name or some PR link to the list above. I'll tackle this the coming week.
Adjust ics_neovi interface for #1046
Adjust ics_neovi interface for #1046
felixdivo commentedon Jun 9, 2021
Reviewing all interfaces is quite a bit of work. Help is - of course - much appreciated.
canalystii: Raise CanTimeoutError instead of CanError
canalystii: Raise CanTimeoutError instead of CanError
Specific Exceptions: Adapting pcan interface
Specific Exceptions: Adapting cantace interface
Specific Exceptions: Adapting nixnet interface
Specific Exceptions: Adapting cantace interface
felixdivo commentedon Nov 11, 2021
This is complete once all PRs which are linked in the issue text are merged.
Specific Exceptions: Adapting pcan interface
Specific Exceptions: Adapting pcan interface
Specific Exceptions: Adapting pcan interface (#1152)
Specific Exceptions: Adapting cantace interface
Specific Exceptions: Adapting pcan interface (hardbyte#1152)
Specific Exceptions: Adapting nixnet interface (#1154)