betfair.py
betfair.py copied to clipboard
Adding separate exception for http error. Inherits from ApiMetaError
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.
I renamed the base exception to ApiBaseError which is IMHO more adequate about what is is, than "meta" exception which is misleading.