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

Use JsonRpcError instead of ValueError #151

Closed
wants to merge 1 commit into from
Closed

Conversation

emizzle
Copy link

@emizzle emizzle commented Sep 15, 2022

Allows implementors of this library to distinguish between errors originating from this library.

Likely a breaking change for current users.

Allows implementors of this library to distinguish between errors originating from this library.
@arnetheduck
Copy link
Member

There are a a lot more random errors coming out from practically any call in here (chronos, json parsing etc) - will need to do be a lot more thorough if you want to narrow down the exceptions in here - ie practically every line in the library needs to live in a try/catch with an error conversion

@emizzle emizzle marked this pull request as draft September 16, 2022 02:51
@arnetheduck
Copy link
Member

@emizzle this is still a valuable change - will you be getting back to it?

@jangko
Copy link
Contributor

jangko commented Jan 3, 2024

close in favor of #178

@jangko jangko closed this Jan 3, 2024
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.

3 participants