From 8a02d3386d4ce0b58de943fcf42bd072af1e0b42 Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 8 Sep 2022 21:08:48 +0200 Subject: refactor: move get access token to DeezerClient --- src/errors/auth.rs | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/errors/auth.rs') diff --git a/src/errors/auth.rs b/src/errors/auth.rs index cd4741d..656673e 100644 --- a/src/errors/auth.rs +++ b/src/errors/auth.rs @@ -8,16 +8,3 @@ pub enum AuthPromptHandlerError #[error("HTTP server failed to bind to address")] BindAddressFailed, } - -/// Access token request error. -#[derive(Debug, thiserror::Error)] -pub enum AccessTokenRequestError -{ - /// Sending access token request failed. - #[error("Sending access token request failed")] - SendFailed(#[from] reqwest::Error), - - /// Parsing access token respone failed. - #[error("Parsing access token respone failed")] - ResponseParseFailed, -} -- cgit v1.2.3-18-g5258