pub fn err( id: Option<RpcId>, code: i32, message: String, data: Option<Value>, ) -> RpcResponse
Create an error JSON-RPC response.