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 2121from .baudrate import BAUDRATE_LOOKUP_FLAGS , BAUDRATES , BaudrateType
2222from .crc import get_cyclic_redundancy_checksum
2323from .errors import (
24+ BaseProtocolReadError ,
2425 SerialReadError ,
2526 SerialTimeoutError ,
2627 SerialWriteError ,
5455 "BAUDRATES" ,
5556 "BaudrateType" ,
5657 "BaseInterface" ,
58+ "BaseProtocolReadError" ,
5759 "Serial" ,
5860 "SerialAsyncCommonInterface" ,
5961 "SerialCommonInterface" ,
Original file line number Diff line number Diff line change 66# **************************************************************************************
77
88
9+ class BaseProtocolReadError (Exception ):
10+ """
11+ Exception class for base protocol read errors.
12+ """
13+
14+ def __init__ (self , message : str ) -> None :
15+ super ().__init__ (message )
16+
17+
18+ # **************************************************************************************
19+
20+
921class SerialReadError (Exception ):
1022 """
1123 Exception class for serial read errors.
You can’t perform that action at this time.
0 commit comments