We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 798b65b commit 650fbd2Copy full SHA for 650fbd2
thingsdb/client/protocol.py
@@ -57,7 +57,7 @@ class Err(enum.IntEnum):
57
"""ThingsDB error codes."""
58
59
# ThingsDB build-in errors
60
- EX_CANCELLED_ERROR = -64
+ EX_CANCELLED = -64
61
EX_OPERATION_ERROR = -63
62
EX_NUM_ARGUMENTS = -62
63
EX_TYPE_ERROR = -61
@@ -83,7 +83,7 @@ class Err(enum.IntEnum):
83
84
85
_ERRMAP = {
86
- Err.EX_CANCELLED_ERROR: CancelledError,
+ Err.EX_CANCELLED: CancelledError,
87
Err.EX_OPERATION_ERROR: OperationError,
88
Err.EX_NUM_ARGUMENTS: NumArgumentsError,
89
Err.EX_TYPE_ERROR: TypeError,
0 commit comments