Skip to content

RPC: add error codes and response errors#3063

Merged
roman-khimov merged 10 commits intonspcc-dev:masterfrom
tatiana-nspcc:rpcsrv-errors
Aug 16, 2023
Merged

RPC: add error codes and response errors#3063
roman-khimov merged 10 commits intonspcc-dev:masterfrom
tatiana-nspcc:rpcsrv-errors

Conversation

@tatiana-nspcc
Copy link
Contributor

@tatiana-nspcc tatiana-nspcc commented Jul 14, 2023

Problem

We should carefully distinguish all kinds of RPC errors on the server side. Each meaningful error should have a separate meaningful error code. The problem is described in #2248

Solution

Add new error codes and handle them

Ref. neo-project/proposals#156 and https://docs.google.com/spreadsheets/d/1VShwR1qdVeE7J4gGUBzSPnjAIWkhXb-VT9yvf9cau6I/edit#gid=0.

Loading
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