Skip to content

Comments

feat(rpc-client): allow setting terminal error codes on pollers#3421

Merged
mattsse merged 2 commits intoalloy-rs:mainfrom
siosw:siosw/terminal-error-codes
Jan 22, 2026
Merged

feat(rpc-client): allow setting terminal error codes on pollers#3421
mattsse merged 2 commits intoalloy-rs:mainfrom
siosw:siosw/terminal-error-codes

Conversation

@siosw
Copy link
Contributor

@siosw siosw commented Dec 30, 2025

Motivation

#2826

Solution

continuation of #3182
allows terminal error codes to be set on the Poller that will cause it to terminate.
if no codes are set we use the existing logic to use the error message as a fallback

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@siosw
Copy link
Contributor Author

siosw commented Jan 7, 2026

@mattsse just gently pinging here if this is smth you'd still be looking to get in

Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

doesnt hurt really

@github-project-automation github-project-automation bot moved this to Reviewed in Alloy Jan 22, 2026
@mattsse mattsse merged commit c9b8c73 into alloy-rs:main Jan 22, 2026
30 checks passed
@github-project-automation github-project-automation bot moved this from Reviewed to Done in Alloy Jan 22, 2026
@mattsse
Copy link
Member

mattsse commented Jan 22, 2026

sorry this got lost over the new years -.-

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants