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

Types added to some JSON RPC errors #496

Merged
merged 6 commits into from
Feb 24, 2021
Merged

Conversation

volovyks
Copy link
Collaborator

@volovyks volovyks commented Feb 9, 2021

To avoid the situations where we are matching string errors with the use of match, indexOf, or includes we can do this only once in JSON RPC provider.
This logic can be deleted when nearcore will start returning typed errors.

@volovyks volovyks requested a review from vgrichina February 9, 2021 17:30
@volovyks volovyks requested a review from chadoh as a code owner February 9, 2021 17:30
@vgrichina
Copy link
Contributor

@volovyk-s let's make sure we have tests for these

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