Skip to content

Conversation

@khsiao-google
Copy link
Collaborator

No description provided.

@khsiao-google khsiao-google force-pushed the update branch 2 times, most recently from 359f3e5 to 539b8d4 Compare September 1, 2025 10:22
bumble/host.py Outdated
self.bigs[event.big_handle] = set(event.connection_handle)
if self.iso_packet_queue is None:
logger.warning("BIS established but ISO packets not supported")
raise ValueError("BIG established but ISO packets not supported")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Avoid using primitive errors. Use errors defined in bumble.core instead.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is InvalidPacketError suitable for this scenario?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

InvalidStateError should be proper.

@khsiao-google khsiao-google merged commit 5d35ed4 into google:main Sep 2, 2025
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