Skip to content

Commit

Permalink
Adds the new response "EGeneral:Too many requests" from Kraken to the…
Browse files Browse the repository at this point in the history
… base service. See knowm#4369 (comment)
  • Loading branch information
gregoreficint committed Dec 24, 2021
1 parent 9a58c09 commit 2d992fa
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ public <R> R checkResult(KrakenResult<R> krakenResult) {
throw new FrequencyLimitExceededException(error);
case "EOrder:Insufficient funds":
throw new FundsExceededException(error);
case "EGeneral:Too many requests":
case "EAPI:Rate limit exceeded":
case "EOrder:Rate limit exceeded":
throw new RateLimitExceededException(error);
Expand Down

0 comments on commit 2d992fa

Please sign in to comment.