File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ def __init__(
6666 Any backend dependent configurations are passed in this dictionary
6767
6868 :raises ValueError: If parameters are out of range
69- :raises can.CanBackEndError : If the driver cannot be accessed
69+ :raises can.CanInterfaceNotImplementedError : If the driver cannot be accessed
7070 :raises can.CanInitializationError: If the bus cannot be initialized
7171 """
7272 self ._periodic_tasks : List [_SelfRemovingCyclicTask ] = []
Original file line number Diff line number Diff line change 55 Exception (Python standard library)
66 +-- ...
77 +-- CanError (python-can)
8- +-- CanBackendError
8+ +-- CanInterfaceNotImplementedError
99 +-- CanInterfaceNotImplementedError
1010 +-- CanOperationError
1111 +-- CanTimeoutError
Original file line number Diff line number Diff line change @@ -22,9 +22,8 @@ def _get_class_for_interface(interface):
2222
2323 :raises:
2424 NotImplementedError if the interface is not known
25- :raises:
26- CanBackEndError if there was a problem while importing the
27- interface or the bus class within that
25+ :raises CanInterfaceNotImplementedError:
26+ if there was a problem while importing the interface or the bus class within that
2827 """
2928 # Find the correct backend
3029 try :
@@ -82,7 +81,7 @@ def __new__(
8281 Should contain an ``interface`` key with a valid interface name. If not,
8382 it is completed using :meth:`can.util.load_config`.
8483
85- :raises: can.CanBackEndError
84+ :raises: can.CanInterfaceNotImplementedError
8685 if the ``interface`` isn't recognized or cannot be loaded
8786
8887 :raises: can.CanInitializationError
Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ def load_config(
149149 All unused values are passed from ``config`` over to this.
150150
151151 :raises:
152- CanBackEndError if the ``interface`` isn't recognized
152+ CanInterfaceNotImplementedError if the ``interface`` isn't recognized
153153 """
154154
155155 # start with an empty dict to apply filtering to all sources
You can’t perform that action at this time.
0 commit comments