File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ pub mod pkce;
44mod scope;
55
66use aws_sdk_ssooidc:: error:: SdkError ;
7+ use crate :: aws_common:: SdkErrorDisplay ;
78use aws_sdk_ssooidc:: operation:: create_token:: CreateTokenError ;
89use aws_sdk_ssooidc:: operation:: register_client:: RegisterClientError ;
910use aws_sdk_ssooidc:: operation:: start_device_authorization:: StartDeviceAuthorizationError ;
@@ -18,11 +19,11 @@ use thiserror::Error;
1819pub enum AuthError {
1920 #[ error( transparent) ]
2021 Ssooidc ( Box < aws_sdk_ssooidc:: Error > ) ,
21- #[ error( transparent ) ]
22+ #[ error( "{}" , SdkErrorDisplay ( . 0 ) ) ]
2223 SdkRegisterClient ( Box < SdkError < RegisterClientError > > ) ,
23- #[ error( transparent ) ]
24+ #[ error( "{}" , SdkErrorDisplay ( . 0 ) ) ]
2425 SdkCreateToken ( Box < SdkError < CreateTokenError > > ) ,
25- #[ error( transparent ) ]
26+ #[ error( "{}" , SdkErrorDisplay ( . 0 ) ) ]
2627 SdkStartDeviceAuthorization ( Box < SdkError < StartDeviceAuthorizationError > > ) ,
2728 #[ error( transparent) ]
2829 Io ( #[ from] std:: io:: Error ) ,
You can’t perform that action at this time.
0 commit comments