[td-1603] add client side defined error code.

This commit is contained in:
Haojun Liao 2020-09-30 21:58:05 +08:00
parent ec0290c94d
commit a3a95b60c3
1 changed files with 2 additions and 0 deletions

View File

@ -1516,6 +1516,8 @@ class Task():
if errno in [
0x05, # TSDB_CODE_RPC_NOT_READY
# 0x200, # invalid SQL TODO: re-examine with TD-934
0x217, # "db not selected", client side defined error code
0x218, # "Table does not exist" client side defined error code
0x360, 0x362,
0x369, # tag already exists
0x36A, 0x36B, 0x36D,