Skip to content

refactor(rpc): share method lookup error construction - #17161

Merged
rgrinberg merged 1 commit into
ocaml:mainfrom
rgrinberg:push-wuuwswzoqwmo
Nov 22, 2026
Merged

rgrinberg merged 1 commit into
ocaml:mainfrom
rgrinberg:push-wuuwswzoqwmo

Conversation

@rgrinberg

Copy link
Copy Markdown
Member

Build the method-name payload in one place for both RPC lookup failures. An invalid method and a method with no common version still report distinct errors.

Keep the distinct failure messages while constructing the same method payload in one place.

Signed-off-by: Rudi Grinberg <[email protected]>
@rgrinberg
rgrinberg merged commit b68c60d into ocaml:main Nov 22, 2026
36 of 37 checks passed
@Alizter Alizter added this to the 3.26.0 milestone Nov 23, 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.

2 participants