get_last_result()
- 1 Minute to read
get_last_result()
- 1 Minute to read
Article summary
Did you find this summary helpful?
Thank you for your feedback
Return last arms result.
Reference
Arguments
None
Return
tuple
Type | Description |
---|---|
int | Last error code. |
str | Last error message. |
tuple | Last arms result. |
Exceptions
See the complete list of arms exceptions.
Usage Example
...
class RayaApplication(RayaApplicationBase):
async def setup(self):
self.arms = await self.enable_controller('arms')
....
async def loop(self):
....
ecode , emsg , result = self.arms.get_last_result()
...
async def finish(self):
...
Was this article helpful?