btcde
btcde copied to clipboard
make it possible to throw API errors
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.