pub fn batch_response_error( id: Id<'_>, err: impl Into<ErrorObject<'static>>, ) -> Box<RawValue>
Create a JSON-RPC error response.