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

add throwOnError param to RpcClient Send/SendAsync #763

Merged
merged 4 commits into from
Oct 5, 2022

Conversation

devhawk
Copy link
Contributor

@devhawk devhawk commented Sep 16, 2022

The FindStates JSON RPC method in the state service API throws a Key Not Found exception when the caller asks for an invalid key. On the calling side, I would like to receive the RpcResponse directly, without letting AsRpcResponse automatically throw an exception when the RPcResponse Error field is not null

@devhawk
Copy link
Contributor Author

devhawk commented Oct 4, 2022

Am I supposed to merge this or am I supposed to wait for @erikzhang or @shargon to do it?

@shargon shargon merged commit f84d63c into neo-project:master Oct 5, 2022
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