File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 2222from .crc import get_cyclic_redundancy_checksum
2323from .errors import (
2424 BaseProtocolReadError ,
25+ BaseProtocolTimeoutError ,
2526 SerialReadError ,
2627 SerialTimeoutError ,
2728 SerialWriteError ,
5657 "BaudrateType" ,
5758 "BaseInterface" ,
5859 "BaseProtocolReadError" ,
60+ "BaseProtocolTimeoutError" ,
5961 "Serial" ,
6062 "SerialAsyncCommonInterface" ,
6163 "SerialCommonInterface" ,
Original file line number Diff line number Diff line change @@ -18,6 +18,18 @@ def __init__(self, message: str) -> None:
1818# **************************************************************************************
1919
2020
21+ class BaseProtocolTimeoutError (Exception ):
22+ """
23+ Exception class for base protocol timeout errors.
24+ """
25+
26+ def __init__ (self , message : str ) -> None :
27+ super ().__init__ (message )
28+
29+
30+ # **************************************************************************************
31+
32+
2133class SerialReadError (Exception ):
2234 """
2335 Exception class for serial read errors.
You can’t perform that action at this time.
0 commit comments