gear icon indicating copy to clipboard operation
gear copied to clipboard

ethexe(rpc): return standard json rpc error codes

Open techraed opened this issue 1 year ago • 1 comments

Problem to Solve

Error code used right now is 8000 which is valid, but not standard.

Possible Solution

Replace with standard codes for application/server errors (from -32099 to -32000)

techraed avatar Nov 28 '24 12:11 techraed

8000 is actively used in substrate so its generally ok, but i'd insert more information everywhrere in rpc errors

breathx avatar Feb 10 '25 09:02 breathx