chore(): fix tests with new api error codes

This commit is contained in:
Tiago Siebler
2023-08-29 11:17:31 +01:00
parent 27871bbfd9
commit 49b739fa5c
4 changed files with 13 additions and 7 deletions

View File

@@ -1,5 +1,6 @@
export const API_ERROR_CODE = {
SUCCESS: '00000',
NO_ORDER_TO_CANCEL: '22001',
INCORRECT_PERMISSIONS: '40014',
ACCOUNT_NOT_COPY_TRADER: '40017',
FUTURES_POSITION_DIRECTION_EMPTY: '40017',
@@ -17,4 +18,6 @@ export const API_ERROR_CODE = {
ORDER_NOT_FOUND: '43001',
FUTURES_ORDER_TPSL_NOT_FOUND: '43020',
PLAN_ORDER_NOT_FOUND: '43025',
QTY_LESS_THAN_MINIMUM_SPOT: '45110',
PASSPHRASE_CANNOT_BE_EMPTY: '400172',
} as const;