fn convert_panics<F: FnOnce() -> Result<Response>>(f: F) -> Result<Response>