We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42d47b6 commit 4e8b8deCopy full SHA for 4e8b8de
can/interfaces/cantact.py
@@ -7,7 +7,7 @@
7
from unittest.mock import Mock
8
9
from can import BusABC, Message
10
-from ..exceptions import CanInitializationError, error_check
+from ..exceptions import CanInitializationError, CanInterfaceNotImplementedError, error_check
11
12
logger = logging.getLogger(__name__)
13
@@ -63,7 +63,7 @@ def __init__(
63
self.interface = MockInterface()
64
else:
65
if cantact is None:
66
- raise CanInitializationError(
+ raise CanInterfaceNotImplementedError(
67
"The CANtact module is not installed. Install it using `python -m pip install cantact`"
68
)
69
with error_check(
0 commit comments