Skip to content

Commit

Permalink
Merge pull request #16098 from ndubel/patch-89
Browse files Browse the repository at this point in the history
binance error mapping
  • Loading branch information
kroitor committed Dec 15, 2022
2 parents c9b0d7e + 158d1a7 commit 9248b39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/binance.js
Expand Up @@ -1162,7 +1162,7 @@ module.exports = class binance extends Exchange {
"You don't have permission.": PermissionDenied, // {"msg":"You don't have permission.","success":false}
'Market is closed.': ExchangeNotAvailable, // {"code":-1013,"msg":"Market is closed."}
'Too many requests. Please try again later.': DDoSProtection, // {"msg":"Too many requests. Please try again later.","success":false}
'This action disabled is on this account.': AccountSuspended, // {"code":-2010,"msg":"This action disabled is on this account."}
'This action is disabled on this account.': AccountSuspended, // {"code":-2011,"msg":"This action is disabled on this account."}
'This type of sub-account exceeds the maximum number limit': BadRequest, // {"code":-9000,"msg":"This type of sub-account exceeds the maximum number limit"}
'This symbol is not permitted for this account.': PermissionDenied, // {"code":-2010,"msg":"This symbol is not permitted for this account."}
'-1000': ExchangeNotAvailable, // {"code":-1000,"msg":"An unknown error occured while processing the request."}
Expand Down

0 comments on commit 9248b39

Please sign in to comment.