pub fn error_response(id: impl Into<Value>, code: i64, message: &str) -> Value
Build a JSON-RPC 2.0 error response.