jmcarp / betfair.py

A Python wrapper for the Betfair API
MIT License
103 stars 76 forks source link

Adding separate exception for http error. Inherits from ApiMetaError #52

Open ms5 opened 9 years ago

ms5 commented 9 years ago

This is a proposal of handling api and http errors according to discussion of pr #43

includes two separate classes for api and http errors, but both exceptions are inherited from a ApiMetaError exception.

ms5 commented 9 years ago

I renamed the base exception to ApiBaseError which is IMHO more adequate about what is is, than "meta" exception which is misleading.