|
@@ -334,6 +334,12 @@ class DebugPinController(PinControllerBase):
|
|
|
lgpio.debug(rv)
|
|
|
respond(str(rv))
|
|
|
|
|
|
+ def raise_exc(self,args=[],command=None,respond=None):
|
|
|
+ raise Exception("Test Exception")
|
|
|
+
|
|
|
+ async def araise_exc(self,args=[],command=None,respond=None):
|
|
|
+ raise Exception("Test Async Exception")
|
|
|
+
|
|
|
if __name__ == "__main__":
|
|
|
pass
|
|
|
|