Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reorganize exceptions #501

Merged
merged 1 commit into from
Jul 12, 2024
Merged

Reorganize exceptions #501

merged 1 commit into from
Jul 12, 2024

Conversation

zxzxwu
Copy link
Collaborator

@zxzxwu zxzxwu commented Jun 4, 2024

Replace builtin errors so they could be handled more properly.

  • Add BaseBumbleException as a "real" root error
  • Add several core error classes and properly replace builtin errors with them
  • Add several error classes for specific modules (transport, device)

Errors raised in Apps, Examples, Tests and Pandora are left because they are unlikely to be handled.

bumble/core.py Outdated Show resolved Hide resolved
bumble/core.py Outdated Show resolved Hide resolved
bumble/core.py Outdated Show resolved Hide resolved
bumble/transport/common.py Outdated Show resolved Hide resolved
* Add BaseBumbleException as a "real" root error
* Add several core error classes and properly replace builtin errors
  with them
* Add several error classes for specific modules (transport, device)
@zxzxwu zxzxwu merged commit 5aae44b into google:main Jul 12, 2024
57 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants