Skip to content

Commit

Permalink
Indodax: BadSymbol
Browse files Browse the repository at this point in the history
  • Loading branch information
brandsimon committed Oct 24, 2019
1 parent 9d35e4c commit 8965c7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/indodax.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// ---------------------------------------------------------------------------

const Exchange = require ('./base/Exchange');
const { ExchangeError, ArgumentsRequired, InsufficientFunds, InvalidOrder, OrderNotFound, AuthenticationError, BadRequest } = require ('./base/errors');
const { ExchangeError, ArgumentsRequired, InsufficientFunds, InvalidOrder, OrderNotFound, AuthenticationError, BadSymbol } = require ('./base/errors');

// ---------------------------------------------------------------------------

Expand Down Expand Up @@ -135,7 +135,7 @@ module.exports = class indodax extends Exchange {
},
'exceptions': {
'exact': {
'invalid_pair': BadRequest, // {"error":"invalid_pair","error_description":"Invalid Pair"}
'invalid_pair': BadSymbol, // {"error":"invalid_pair","error_description":"Invalid Pair"}
'Insufficient balance.': InsufficientFunds,
'invalid order.': OrderNotFound,
'Invalid credentials. API not found or session has expired.': AuthenticationError,
Expand Down

0 comments on commit 8965c7f

Please sign in to comment.