node-jsonrpc2 icon indicating copy to clipboard operation
node-jsonrpc2 copied to clipboard

How can i pass error code into response?

Open topilski opened this issue 6 years ago • 0 comments

Hi, according http://www.jsonrpc.org/specification , error json field should have code: {"code": -32601, "message": "Method not found"} , how can get this code from response? Now you only return message.

topilski avatar Feb 25 '18 04:02 topilski