peshay / btcde

A Python Module for Bitcoin.de Trading API
MIT License
38 stars 24 forks source link

make it possible to throw API errors #43

Open MarcelBeining opened 5 years ago

MarcelBeining commented 5 years ago

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.