From baf0117a7489be8ac8d9f1678e2096829c9e69df Mon Sep 17 00:00:00 2001 From: Robert Garrett Date: Thu, 29 May 2025 17:46:00 -0500 Subject: [PATCH] Delete the error mapper utility Now that all API functions are the new versions using my gt_tools::Error type natively, I don't need to map from the reqwest::Error into the wrapped variant. --- src/main.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main.rs b/src/main.rs index d013067..d4e880a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -76,7 +76,3 @@ async fn main() -> Result<(), gt_tools::Error> { Ok(()) } - -fn reqwest_to_gttool(err: reqwest::Error) -> gt_tools::Error { - gt_tools::Error::WrappedReqwestErr(err) -}