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