btcde icon indicating copy to clipboard operation
btcde copied to clipboard

make it possible to throw API errors

Open MarcelBeining opened this issue 5 years ago • 0 comments

Currently API errors (such as insufficient credits) are catched internally and the response is simply empty. It would be nice if the SDK could also have an option to throw the api errors instead, such that the superscript can handle them accordingly eg by limiting the rate.

MarcelBeining avatar Mar 13 '19 14:03 MarcelBeining