github.com/theQRL/go-zond@v0.1.1/rpc/testdata/internal-error.js (about)

     1  // These tests trigger various 'internal error' conditions.
     2  
     3  --> {"jsonrpc":"2.0","id":1,"method":"test_marshalError","params": []}
     4  <-- {"jsonrpc":"2.0","id":1,"error":{"code":-32603,"message":"json: error calling MarshalText for type *rpc.MarshalErrObj: marshal error"}}
     5  
     6  --> {"jsonrpc":"2.0","id":2,"method":"test_panic","params": []}
     7  <-- {"jsonrpc":"2.0","id":2,"error":{"code":-32603,"message":"method handler crashed"}}