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 2323from .errors import (
2424 BaseProtocolReadError ,
2525 BaseProtocolTimeoutError ,
26+ BaseProtocolWriteError ,
2627 SerialReadError ,
2728 SerialTimeoutError ,
2829 SerialWriteError ,
5859 "BaseInterface" ,
5960 "BaseProtocolReadError" ,
6061 "BaseProtocolTimeoutError" ,
62+ "BaseProtocolWriteError" ,
6163 "Serial" ,
6264 "SerialAsyncCommonInterface" ,
6365 "SerialCommonInterface" ,
Original file line number Diff line number Diff line change @@ -30,6 +30,18 @@ def __init__(self, message: str) -> None:
3030# **************************************************************************************
3131
3232
33+ class BaseProtocolWriteError (Exception ):
34+ """
35+ Exception class for base protocol write errors.
36+ """
37+
38+ def __init__ (self , message : str ) -> None :
39+ super ().__init__ (message )
40+
41+
42+ # **************************************************************************************
43+
44+
3345class SerialReadError (Exception ):
3446 """
3547 Exception class for serial read errors.
You can’t perform that action at this time.
0 commit comments