github.com/Cleverse/go-ethereum@v0.0.0-20220927095127-45113064e7f2/rpc/testdata/invalid-nonobj.js (about)

     1  // This test checks behavior for invalid requests.
     2  
     3  --> 1
     4  <-- {"jsonrpc":"2.0","id":null,"error":{"code":-32600,"message":"invalid request"}}
     5  
     6  --> null
     7  <-- {"jsonrpc":"2.0","id":null,"error":{"code":-32600,"message":"invalid request"}}