You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At least the way I use the Betfair API so far, there are mainly three kinds of issues to distinguish in terms of how to respond to them:
temporary issues, just wait and repeat
needs relogin, connection loss or something
login failed for permanent reasons, needs user intervention
The thrown errors should make it easy to distinguish between those categories with a simple except ... or isinstance(...) check. For that, the existing exception classes should be refactored.
At least the way I use the Betfair API so far, there are mainly three kinds of issues to distinguish in terms of how to respond to them:
The thrown errors should make it easy to distinguish between those categories with a simple
except ...
orisinstance(...)
check. For that, the existing exception classes should be refactored.Supersedes #29
The text was updated successfully, but these errors were encountered: