We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37a77e0 commit d5ffb76Copy full SHA for d5ffb76
crates/chat-cli/src/auth/mod.rs
@@ -14,15 +14,17 @@ pub use builder_id::{
14
pub use consts::START_URL;
15
use thiserror::Error;
16
17
+use crate::aws_common::SdkErrorDisplay;
18
+
19
#[derive(Debug, Error)]
20
pub enum AuthError {
21
#[error(transparent)]
22
Ssooidc(Box<aws_sdk_ssooidc::Error>),
- #[error(transparent)]
23
+ #[error("{}", SdkErrorDisplay(.0))]
24
SdkRegisterClient(Box<SdkError<RegisterClientError>>),
25
26
SdkCreateToken(Box<SdkError<CreateTokenError>>),
27
28
SdkStartDeviceAuthorization(Box<SdkError<StartDeviceAuthorizationError>>),
29
30
Io(#[from] std::io::Error),
0 commit comments