Skip to content

feat: add BaseProtocolTimeoutError to errors in samps module#79

Merged
michealroberts merged 1 commit intomainfrom
feature/errors/BaseProtocolTimeoutError
Dec 16, 2025
Merged

feat: add BaseProtocolTimeoutError to errors in samps module#79
michealroberts merged 1 commit intomainfrom
feature/errors/BaseProtocolTimeoutError

Conversation

@michealroberts
Copy link
Owner

feat: add BaseProtocolTimeoutError to errors in samps module

feat: add BaseProtocolTimeoutError to errors in samps module
@michealroberts michealroberts self-assigned this Dec 16, 2025
@michealroberts michealroberts added enhancement New feature or request feature New feature or request labels Dec 16, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a new exception class BaseProtocolTimeoutError to handle timeout errors in the base protocol layer. The change introduces a dedicated error type for protocol-level timeouts, separate from serial communication timeouts.

  • Adds BaseProtocolTimeoutError exception class to the errors module
  • Exports the new exception through the package's public API

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/samps/errors.py Defines the new BaseProtocolTimeoutError exception class with standard exception initialization
src/samps/init.py Exports BaseProtocolTimeoutError in imports and __all__ list for public API access

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@michealroberts michealroberts merged commit 5bcbc56 into main Dec 16, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants