Skip to content

smite: Also check for Self::Target in is_timeout#41

Open
ekzyis wants to merge 1 commit intomorehouse:masterfrom
ekzyis:include-targeterror-in-is-timeout
Open

smite: Also check for Self::Target in is_timeout#41
ekzyis wants to merge 1 commit intomorehouse:masterfrom
ekzyis:include-targeterror-in-is-timeout

Conversation

@ekzyis
Copy link
Copy Markdown
Contributor

@ekzyis ekzyis commented Apr 7, 2026

ScenarioError::is_timeout did not consider timeout errors derived from TargetError. This is currently not a bug, because is_timeout is only used to check ping_pong errors, and ping_pong always returns ConnectionError or BoltError, but it might become one.

@ekzyis ekzyis force-pushed the include-targeterror-in-is-timeout branch from eda5fac to e7cf611 Compare April 7, 2026 23:50
@ekzyis ekzyis force-pushed the include-targeterror-in-is-timeout branch from e7cf611 to 7d6028e Compare April 8, 2026 00:35
@ekzyis ekzyis changed the title Also check for Self::Target in is_timeout smite: Also check for Self::Target in is_timeout Apr 8, 2026
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.

1 participant