Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: split client and server errors #1122

Merged
merged 24 commits into from
Dec 6, 2023
Merged

Conversation

niklasad1
Copy link
Member

@niklasad1 niklasad1 commented May 15, 2023

Close #1088

@niklasad1 niklasad1 added the breaking change Breaking change in the public APIs label May 18, 2023
@niklasad1 niklasad1 changed the title WIP: split client and server errors refactor: split client and server errors Dec 4, 2023
@niklasad1 niklasad1 marked this pull request as ready for review December 4, 2023 09:57
@niklasad1 niklasad1 requested a review from a team as a code owner December 4, 2023 09:57
server/src/future.rs Outdated Show resolved Hide resolved
@niklasad1 niklasad1 mentioned this pull request Dec 4, 2023
8 tasks
Copy link
Contributor

@lexnv lexnv left a comment

Choose a reason for hiding this comment

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

LGTM!

core/src/lib.rs Outdated Show resolved Hide resolved
@jsdw
Copy link
Collaborator

jsdw commented Dec 5, 2023

Looks good to me too! Only tiny thing I wondered was whether to have a client/error.rs file to be consistent with server/error.rs but I don't think it matters :)

core/src/client/error.rs Outdated Show resolved Hide resolved
@niklasad1 niklasad1 merged commit 0ca84f9 into master Dec 6, 2023
11 checks passed
@niklasad1 niklasad1 deleted the na-split-error-types branch December 6, 2023 09:20
carver added a commit to carver/glados that referenced this pull request Oct 10, 2024
Errors were split into client & server types here:
paritytech/jsonrpsee#1122
carver added a commit to carver/glados that referenced this pull request Oct 12, 2024
Errors were split into client & server types here:
paritytech/jsonrpsee#1122
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change Breaking change in the public APIs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

split jsonrpsee::core::Error to ClientError and ServerError error types
3 participants