op-geth/rpc/testdata
Nicholas 610cf02c4a
rpc: improve error codes for internal server errors (#25678)
This changes the error code returned by the RPC server in certain situations:

- handler panic: code -32603
- result marshaling error: code -32603
- attempt to subscribe via HTTP: code -32001

In all of the above cases, the server previously returned the default error
code -32000.

Co-authored-by: Nicholas Zhao <nicholas.zhao@gmail.com>
Co-authored-by: Felix Lange <fjl@twurst.com>
2022-09-09 14:03:23 +02:00
..
internal-error.js rpc: improve error codes for internal server errors (#25678) 2022-09-09 14:03:23 +02:00
invalid-badid.js
invalid-badversion.js rpc: check that "version" is "2.0" in request objects (#25570) 2022-09-02 17:47:29 +02:00
invalid-batch.js
invalid-idonly.js
invalid-nonobj.js
invalid-syntax.json
reqresp-batch.js
reqresp-echo.js
reqresp-namedparam.js
reqresp-noargsrets.js
reqresp-nomethod.js
reqresp-noparam.js
reqresp-paramsnull.js
revcall.js
revcall2.js
subscription.js