pub fn build_error_message<S: JsonRpcSerializer>( id: Option<&S::Value>, code: i64, message: &str, ) -> String
Build a JSON-RPC 2.0 error message.
A None id is encoded as JSON null, matching the original transport.
None
null