AI butler Jarvis

This commit is contained in:
fiatrete
2023-06-05 13:21:34 +08:00
parent 41578de486
commit c01b07e61e
68 changed files with 4451 additions and 0 deletions
@@ -0,0 +1,13 @@
EC_SUCCESS = 0
EC_UNKNOWN_ERROR = -1
EC_RESET = 1
EC_DECODE_JSON_ERROR = 100
class FunctionError(Exception):
def __init__(self, code, msg):
self.code = code
self.msg = msg