Skip to content

Better exceptions #51

Description

@ml31415

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.

Supersedes #29

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions