Skip to content

Comments

feat: error code for dropped filters#3182

Open
nadtech-hub wants to merge 2 commits intoalloy-rs:mainfrom
nadtech-hub:nadtech/poller_error_codes
Open

feat: error code for dropped filters#3182
nadtech-hub wants to merge 2 commits intoalloy-rs:mainfrom
nadtech-hub:nadtech/poller_error_codes

Conversation

@nadtech-hub
Copy link
Contributor

This should resolve #2826

@nadtech-hub nadtech-hub changed the title feat: error code for dropped filters #2862 feat: error code for dropped filters Nov 12, 2025
@siosw
Copy link
Contributor

siosw commented Nov 14, 2025

hey @nadtech-hub thanks for the PR, this isn't quite what I was going for when writing the issue,
i was imagining something like

if resp.message.contains("filter not found") || self.terminal_error_codes.contains(resp.code) {
    // stop the poller
}

where the list of error codes is something the user of the poller can set

@nadtech-hub
Copy link
Contributor Author

nadtech-hub commented Nov 16, 2025

terminal_error_codes

so you need certain RPC error codes. @siosw see if changes are sufficient now

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

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

[Feature] configure error code for dropped filters in PollerStream

2 participants