pub fn error(id: &Value, code: i64, message: &str) -> Value
Build a JSON-RPC error envelope echoing the request id.
id