diff --git a/src/bin/command/auth/login.rs b/src/bin/command/auth/login.rs index 16d5890..6f0aa38 100644 --- a/src/bin/command/auth/login.rs +++ b/src/bin/command/auth/login.rs @@ -53,10 +53,15 @@ struct CallbackPayload { enum CallbackError { #[error(transparent)] Io(#[from] std::io::Error), + #[error("Api error: {0}")] Api(#[from] slot::api::Error), + #[error(transparent)] Other(#[from] anyhow::Error), + + #[error(transparent)] + Credentials(#[from] slot::credential::Error), } impl IntoResponse for CallbackError { @@ -90,7 +95,7 @@ async fn handler(Query(payload): Query) -> Result