crypto-trading-bot icon indicating copy to clipboard operation
crypto-trading-bot copied to clipboard

Check for bittrex error codes

Open saschb2b opened this issue 3 years ago • 0 comments

I currently don't check for a returned error code from bittrex, just assume it works. Bittrex return an error object when a problem occured

{
  code: string
}

The error codes can be found here https://bittrex.github.io/api/v3#topic-Error-Codes

Extending the api return types with this object and handling the error cases would be the goal

saschb2b avatar Jan 10 '21 17:01 saschb2b