feature: add 0 as error_code for bos errors and X19 errors to make them consistent with the other types of errors.

This commit is contained in:
UpstreamData
2022-11-07 12:49:01 -07:00
parent b33586f8eb
commit 215af72a6b
2 changed files with 2 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ class X19Error:
"""
error_message: str
error_code: int = 0
def asdict(self):
return asdict(self)

View File

@@ -24,6 +24,7 @@ class BraiinsOSError:
"""
error_message: str
error_code: int = 0
def asdict(self):
return asdict(self)