summaryrefslogtreecommitdiff
path: root/src/errors/auth.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-09-08 21:08:48 +0200
committerHampusM <hampus@hampusmat.com>2022-09-08 21:08:48 +0200
commit8a02d3386d4ce0b58de943fcf42bd072af1e0b42 (patch)
tree6656b72ce309ae993029d8cdae26604098d92ba7 /src/errors/auth.rs
parentb44463d533ba9b789e3423d670e2ddcc32c1112c (diff)
refactor: move get access token to DeezerClient
Diffstat (limited to 'src/errors/auth.rs')
-rw-r--r--src/errors/auth.rs13
1 files changed, 0 insertions, 13 deletions
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,
-}