#[non_exhaustive]
pub enum Error {
Show 42 variants AliasExistsException(AliasExistsException), CodeDeliveryFailureException(CodeDeliveryFailureException), CodeMismatchException(CodeMismatchException), ConcurrentModificationException(ConcurrentModificationException), DuplicateProviderException(DuplicateProviderException), EnableSoftwareTokenMfaException(EnableSoftwareTokenMfaException), ExpiredCodeException(ExpiredCodeException), ForbiddenException(ForbiddenException), GroupExistsException(GroupExistsException), InternalErrorException(InternalErrorException), InvalidEmailRoleAccessPolicyException(InvalidEmailRoleAccessPolicyException), InvalidLambdaResponseException(InvalidLambdaResponseException), InvalidOAuthFlowException(InvalidOAuthFlowException), InvalidParameterException(InvalidParameterException), InvalidPasswordException(InvalidPasswordException), InvalidSmsRoleAccessPolicyException(InvalidSmsRoleAccessPolicyException), InvalidSmsRoleTrustRelationshipException(InvalidSmsRoleTrustRelationshipException), InvalidUserPoolConfigurationException(InvalidUserPoolConfigurationException), LimitExceededException(LimitExceededException), MfaMethodNotFoundException(MfaMethodNotFoundException), NotAuthorizedException(NotAuthorizedException), PasswordResetRequiredException(PasswordResetRequiredException), PreconditionNotMetException(PreconditionNotMetException), ResourceNotFoundException(ResourceNotFoundException), ScopeDoesNotExistException(ScopeDoesNotExistException), SoftwareTokenMfaNotFoundException(SoftwareTokenMfaNotFoundException), TooManyFailedAttemptsException(TooManyFailedAttemptsException), TooManyRequestsException(TooManyRequestsException), UnauthorizedException(UnauthorizedException), UnexpectedLambdaException(UnexpectedLambdaException), UnsupportedIdentityProviderException(UnsupportedIdentityProviderException), UnsupportedOperationException(UnsupportedOperationException), UnsupportedTokenTypeException(UnsupportedTokenTypeException), UnsupportedUserStateException(UnsupportedUserStateException), UserImportInProgressException(UserImportInProgressException), UserLambdaValidationException(UserLambdaValidationException), UserNotConfirmedException(UserNotConfirmedException), UserNotFoundException(UserNotFoundException), UserPoolAddOnNotEnabledException(UserPoolAddOnNotEnabledException), UserPoolTaggingException(UserPoolTaggingException), UsernameExistsException(UsernameExistsException), Unhandled(Unhandled),
}
Expand description

All possible error types for this service.

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

AliasExistsException(AliasExistsException)

This exception is thrown when a user tries to confirm the account with an email address or phone number that has already been supplied as an alias for a different user profile. This exception indicates that an account with this email address or phone already exists in a user pool that you've configured to use email address or phone number as a sign-in alias.

§

CodeDeliveryFailureException(CodeDeliveryFailureException)

This exception is thrown when a verification code fails to deliver successfully.

§

CodeMismatchException(CodeMismatchException)

This exception is thrown if the provided code doesn't match what the server was expecting.

§

ConcurrentModificationException(ConcurrentModificationException)

This exception is thrown if two or more modifications are happening concurrently.

§

DuplicateProviderException(DuplicateProviderException)

This exception is thrown when the provider is already supported by the user pool.

§

EnableSoftwareTokenMfaException(EnableSoftwareTokenMfaException)

This exception is thrown when there is a code mismatch and the service fails to configure the software token TOTP multi-factor authentication (MFA).

§

ExpiredCodeException(ExpiredCodeException)

This exception is thrown if a code has expired.

§

ForbiddenException(ForbiddenException)

This exception is thrown when WAF doesn't allow your request based on a web ACL that's associated with your user pool.

§

GroupExistsException(GroupExistsException)

This exception is thrown when Amazon Cognito encounters a group that already exists in the user pool.

§

InternalErrorException(InternalErrorException)

This exception is thrown when Amazon Cognito encounters an internal error.

§

InvalidEmailRoleAccessPolicyException(InvalidEmailRoleAccessPolicyException)

This exception is thrown when Amazon Cognito isn't allowed to use your email identity. HTTP status code: 400.

§

InvalidLambdaResponseException(InvalidLambdaResponseException)

This exception is thrown when Amazon Cognito encounters an invalid Lambda response.

§

InvalidOAuthFlowException(InvalidOAuthFlowException)

This exception is thrown when the specified OAuth flow is not valid.

§

InvalidParameterException(InvalidParameterException)

This exception is thrown when the Amazon Cognito service encounters an invalid parameter.

§

InvalidPasswordException(InvalidPasswordException)

This exception is thrown when Amazon Cognito encounters an invalid password.

§

InvalidSmsRoleAccessPolicyException(InvalidSmsRoleAccessPolicyException)

This exception is returned when the role provided for SMS configuration doesn't have permission to publish using Amazon SNS.

§

InvalidSmsRoleTrustRelationshipException(InvalidSmsRoleTrustRelationshipException)

This exception is thrown when the trust relationship is not valid for the role provided for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com or the external ID provided in the role does not match what is provided in the SMS configuration for the user pool.

§

InvalidUserPoolConfigurationException(InvalidUserPoolConfigurationException)

This exception is thrown when the user pool configuration is not valid.

§

LimitExceededException(LimitExceededException)

This exception is thrown when a user exceeds the limit for a requested Amazon Web Services resource.

§

MfaMethodNotFoundException(MfaMethodNotFoundException)

This exception is thrown when Amazon Cognito can't find a multi-factor authentication (MFA) method.

§

NotAuthorizedException(NotAuthorizedException)

This exception is thrown when a user isn't authorized.

§

PasswordResetRequiredException(PasswordResetRequiredException)

This exception is thrown when a password reset is required.

§

PreconditionNotMetException(PreconditionNotMetException)

This exception is thrown when a precondition is not met.

§

ResourceNotFoundException(ResourceNotFoundException)

This exception is thrown when the Amazon Cognito service can't find the requested resource.

§

ScopeDoesNotExistException(ScopeDoesNotExistException)

This exception is thrown when the specified scope doesn't exist.

§

SoftwareTokenMfaNotFoundException(SoftwareTokenMfaNotFoundException)

This exception is thrown when the software token time-based one-time password (TOTP) multi-factor authentication (MFA) isn't activated for the user pool.

§

TooManyFailedAttemptsException(TooManyFailedAttemptsException)

This exception is thrown when the user has made too many failed attempts for a given action, such as sign-in.

§

TooManyRequestsException(TooManyRequestsException)

This exception is thrown when the user has made too many requests for a given operation.

§

UnauthorizedException(UnauthorizedException)

Exception that is thrown when the request isn't authorized. This can happen due to an invalid access token in the request.

§

UnexpectedLambdaException(UnexpectedLambdaException)

This exception is thrown when Amazon Cognito encounters an unexpected exception with Lambda.

§

UnsupportedIdentityProviderException(UnsupportedIdentityProviderException)

This exception is thrown when the specified identifier isn't supported.

§

UnsupportedOperationException(UnsupportedOperationException)

Exception that is thrown when you attempt to perform an operation that isn't enabled for the user pool client.

§

UnsupportedTokenTypeException(UnsupportedTokenTypeException)

Exception that is thrown when an unsupported token is passed to an operation.

§

UnsupportedUserStateException(UnsupportedUserStateException)

The request failed because the user is in an unsupported state.

§

UserImportInProgressException(UserImportInProgressException)

This exception is thrown when you're trying to modify a user pool while a user import job is in progress for that pool.

§

UserLambdaValidationException(UserLambdaValidationException)

This exception is thrown when the Amazon Cognito service encounters a user validation exception with the Lambda service.

§

UserNotConfirmedException(UserNotConfirmedException)

This exception is thrown when a user isn't confirmed successfully.

§

UserNotFoundException(UserNotFoundException)

This exception is thrown when a user isn't found.

§

UserPoolAddOnNotEnabledException(UserPoolAddOnNotEnabledException)

This exception is thrown when user pool add-ons aren't enabled.

§

UserPoolTaggingException(UserPoolTaggingException)

This exception is thrown when a user pool tag can't be set or updated.

§

UsernameExistsException(UsernameExistsException)

This exception is thrown when Amazon Cognito encounters a user name that already exists in the user pool.

§

Unhandled(Unhandled)

👎Deprecated: Matching Unhandled directly is not forwards compatible. Instead, match using a variable wildcard pattern and check .code():    err if err.code() == Some("SpecificExceptionCode") => { /* handle the error */ } See ProvideErrorMetadata for what information is available for the error.

An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).

Trait Implementations§

source§

impl Debug for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for Error

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<AddCustomAttributesError> for Error

source§

fn from(err: AddCustomAttributesError) -> Self

Converts to this type from the input type.
source§

impl From<AdminAddUserToGroupError> for Error

source§

fn from(err: AdminAddUserToGroupError) -> Self

Converts to this type from the input type.
source§

impl From<AdminConfirmSignUpError> for Error

source§

fn from(err: AdminConfirmSignUpError) -> Self

Converts to this type from the input type.
source§

impl From<AdminCreateUserError> for Error

source§

fn from(err: AdminCreateUserError) -> Self

Converts to this type from the input type.
source§

impl From<AdminDeleteUserAttributesError> for Error

source§

fn from(err: AdminDeleteUserAttributesError) -> Self

Converts to this type from the input type.
source§

impl From<AdminDeleteUserError> for Error

source§

fn from(err: AdminDeleteUserError) -> Self

Converts to this type from the input type.
source§

impl From<AdminDisableProviderForUserError> for Error

source§

fn from(err: AdminDisableProviderForUserError) -> Self

Converts to this type from the input type.
source§

impl From<AdminDisableUserError> for Error

source§

fn from(err: AdminDisableUserError) -> Self

Converts to this type from the input type.
source§

impl From<AdminEnableUserError> for Error

source§

fn from(err: AdminEnableUserError) -> Self

Converts to this type from the input type.
source§

impl From<AdminForgetDeviceError> for Error

source§

fn from(err: AdminForgetDeviceError) -> Self

Converts to this type from the input type.
source§

impl From<AdminGetDeviceError> for Error

source§

fn from(err: AdminGetDeviceError) -> Self

Converts to this type from the input type.
source§

impl From<AdminGetUserError> for Error

source§

fn from(err: AdminGetUserError) -> Self

Converts to this type from the input type.
source§

impl From<AdminInitiateAuthError> for Error

source§

fn from(err: AdminInitiateAuthError) -> Self

Converts to this type from the input type.
source§

impl From<AdminLinkProviderForUserError> for Error

source§

fn from(err: AdminLinkProviderForUserError) -> Self

Converts to this type from the input type.
source§

impl From<AdminListDevicesError> for Error

source§

fn from(err: AdminListDevicesError) -> Self

Converts to this type from the input type.
source§

impl From<AdminListGroupsForUserError> for Error

source§

fn from(err: AdminListGroupsForUserError) -> Self

Converts to this type from the input type.
source§

impl From<AdminListUserAuthEventsError> for Error

source§

fn from(err: AdminListUserAuthEventsError) -> Self

Converts to this type from the input type.
source§

impl From<AdminRemoveUserFromGroupError> for Error

source§

fn from(err: AdminRemoveUserFromGroupError) -> Self

Converts to this type from the input type.
source§

impl From<AdminResetUserPasswordError> for Error

source§

fn from(err: AdminResetUserPasswordError) -> Self

Converts to this type from the input type.
source§

impl From<AdminRespondToAuthChallengeError> for Error

source§

fn from(err: AdminRespondToAuthChallengeError) -> Self

Converts to this type from the input type.
source§

impl From<AdminSetUserMFAPreferenceError> for Error

source§

fn from(err: AdminSetUserMFAPreferenceError) -> Self

Converts to this type from the input type.
source§

impl From<AdminSetUserPasswordError> for Error

source§

fn from(err: AdminSetUserPasswordError) -> Self

Converts to this type from the input type.
source§

impl From<AdminSetUserSettingsError> for Error

source§

fn from(err: AdminSetUserSettingsError) -> Self

Converts to this type from the input type.
source§

impl From<AdminUpdateAuthEventFeedbackError> for Error

source§

fn from(err: AdminUpdateAuthEventFeedbackError) -> Self

Converts to this type from the input type.
source§

impl From<AdminUpdateDeviceStatusError> for Error

source§

fn from(err: AdminUpdateDeviceStatusError) -> Self

Converts to this type from the input type.
source§

impl From<AdminUpdateUserAttributesError> for Error

source§

fn from(err: AdminUpdateUserAttributesError) -> Self

Converts to this type from the input type.
source§

impl From<AdminUserGlobalSignOutError> for Error

source§

fn from(err: AdminUserGlobalSignOutError) -> Self

Converts to this type from the input type.
source§

impl From<AssociateSoftwareTokenError> for Error

source§

fn from(err: AssociateSoftwareTokenError) -> Self

Converts to this type from the input type.
source§

impl From<BuildError> for Error

source§

fn from(value: BuildError) -> Self

Converts to this type from the input type.
source§

impl From<ChangePasswordError> for Error

source§

fn from(err: ChangePasswordError) -> Self

Converts to this type from the input type.
source§

impl From<ConfirmDeviceError> for Error

source§

fn from(err: ConfirmDeviceError) -> Self

Converts to this type from the input type.
source§

impl From<ConfirmForgotPasswordError> for Error

source§

fn from(err: ConfirmForgotPasswordError) -> Self

Converts to this type from the input type.
source§

impl From<ConfirmSignUpError> for Error

source§

fn from(err: ConfirmSignUpError) -> Self

Converts to this type from the input type.
source§

impl From<CreateGroupError> for Error

source§

fn from(err: CreateGroupError) -> Self

Converts to this type from the input type.
source§

impl From<CreateIdentityProviderError> for Error

source§

fn from(err: CreateIdentityProviderError) -> Self

Converts to this type from the input type.
source§

impl From<CreateResourceServerError> for Error

source§

fn from(err: CreateResourceServerError) -> Self

Converts to this type from the input type.
source§

impl From<CreateUserImportJobError> for Error

source§

fn from(err: CreateUserImportJobError) -> Self

Converts to this type from the input type.
source§

impl From<CreateUserPoolClientError> for Error

source§

fn from(err: CreateUserPoolClientError) -> Self

Converts to this type from the input type.
source§

impl From<CreateUserPoolDomainError> for Error

source§

fn from(err: CreateUserPoolDomainError) -> Self

Converts to this type from the input type.
source§

impl From<CreateUserPoolError> for Error

source§

fn from(err: CreateUserPoolError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteGroupError> for Error

source§

fn from(err: DeleteGroupError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteIdentityProviderError> for Error

source§

fn from(err: DeleteIdentityProviderError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteResourceServerError> for Error

source§

fn from(err: DeleteResourceServerError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteUserAttributesError> for Error

source§

fn from(err: DeleteUserAttributesError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteUserError> for Error

source§

fn from(err: DeleteUserError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteUserPoolClientError> for Error

source§

fn from(err: DeleteUserPoolClientError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteUserPoolDomainError> for Error

source§

fn from(err: DeleteUserPoolDomainError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteUserPoolError> for Error

source§

fn from(err: DeleteUserPoolError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeIdentityProviderError> for Error

source§

fn from(err: DescribeIdentityProviderError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeResourceServerError> for Error

source§

fn from(err: DescribeResourceServerError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeRiskConfigurationError> for Error

source§

fn from(err: DescribeRiskConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeUserImportJobError> for Error

source§

fn from(err: DescribeUserImportJobError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeUserPoolClientError> for Error

source§

fn from(err: DescribeUserPoolClientError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeUserPoolDomainError> for Error

source§

fn from(err: DescribeUserPoolDomainError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeUserPoolError> for Error

source§

fn from(err: DescribeUserPoolError) -> Self

Converts to this type from the input type.
source§

impl From<ForgetDeviceError> for Error

source§

fn from(err: ForgetDeviceError) -> Self

Converts to this type from the input type.
source§

impl From<ForgotPasswordError> for Error

source§

fn from(err: ForgotPasswordError) -> Self

Converts to this type from the input type.
source§

impl From<GetCSVHeaderError> for Error

source§

fn from(err: GetCSVHeaderError) -> Self

Converts to this type from the input type.
source§

impl From<GetDeviceError> for Error

source§

fn from(err: GetDeviceError) -> Self

Converts to this type from the input type.
source§

impl From<GetGroupError> for Error

source§

fn from(err: GetGroupError) -> Self

Converts to this type from the input type.
source§

impl From<GetIdentityProviderByIdentifierError> for Error

source§

fn from(err: GetIdentityProviderByIdentifierError) -> Self

Converts to this type from the input type.
source§

impl From<GetLogDeliveryConfigurationError> for Error

source§

fn from(err: GetLogDeliveryConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<GetSigningCertificateError> for Error

source§

fn from(err: GetSigningCertificateError) -> Self

Converts to this type from the input type.
source§

impl From<GetUICustomizationError> for Error

source§

fn from(err: GetUICustomizationError) -> Self

Converts to this type from the input type.
source§

impl From<GetUserAttributeVerificationCodeError> for Error

source§

fn from(err: GetUserAttributeVerificationCodeError) -> Self

Converts to this type from the input type.
source§

impl From<GetUserError> for Error

source§

fn from(err: GetUserError) -> Self

Converts to this type from the input type.
source§

impl From<GetUserPoolMfaConfigError> for Error

source§

fn from(err: GetUserPoolMfaConfigError) -> Self

Converts to this type from the input type.
source§

impl From<GlobalSignOutError> for Error

source§

fn from(err: GlobalSignOutError) -> Self

Converts to this type from the input type.
source§

impl From<InitiateAuthError> for Error

source§

fn from(err: InitiateAuthError) -> Self

Converts to this type from the input type.
source§

impl From<ListDevicesError> for Error

source§

fn from(err: ListDevicesError) -> Self

Converts to this type from the input type.
source§

impl From<ListGroupsError> for Error

source§

fn from(err: ListGroupsError) -> Self

Converts to this type from the input type.
source§

impl From<ListIdentityProvidersError> for Error

source§

fn from(err: ListIdentityProvidersError) -> Self

Converts to this type from the input type.
source§

impl From<ListResourceServersError> for Error

source§

fn from(err: ListResourceServersError) -> Self

Converts to this type from the input type.
source§

impl From<ListTagsForResourceError> for Error

source§

fn from(err: ListTagsForResourceError) -> Self

Converts to this type from the input type.
source§

impl From<ListUserImportJobsError> for Error

source§

fn from(err: ListUserImportJobsError) -> Self

Converts to this type from the input type.
source§

impl From<ListUserPoolClientsError> for Error

source§

fn from(err: ListUserPoolClientsError) -> Self

Converts to this type from the input type.
source§

impl From<ListUserPoolsError> for Error

source§

fn from(err: ListUserPoolsError) -> Self

Converts to this type from the input type.
source§

impl From<ListUsersError> for Error

source§

fn from(err: ListUsersError) -> Self

Converts to this type from the input type.
source§

impl From<ListUsersInGroupError> for Error

source§

fn from(err: ListUsersInGroupError) -> Self

Converts to this type from the input type.
source§

impl From<ResendConfirmationCodeError> for Error

source§

fn from(err: ResendConfirmationCodeError) -> Self

Converts to this type from the input type.
source§

impl From<RespondToAuthChallengeError> for Error

source§

fn from(err: RespondToAuthChallengeError) -> Self

Converts to this type from the input type.
source§

impl From<RevokeTokenError> for Error

source§

fn from(err: RevokeTokenError) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<AddCustomAttributesError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<AddCustomAttributesError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<AdminAddUserToGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<AdminAddUserToGroupError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<AdminConfirmSignUpError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<AdminConfirmSignUpError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<AdminCreateUserError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<AdminCreateUserError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<AdminDeleteUserAttributesError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<AdminDeleteUserAttributesError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<AdminDeleteUserError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<AdminDeleteUserError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<AdminDisableProviderForUserError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<AdminDisableProviderForUserError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<AdminDisableUserError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<AdminDisableUserError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<AdminEnableUserError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<AdminEnableUserError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<AdminForgetDeviceError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<AdminForgetDeviceError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<AdminGetDeviceError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<AdminGetDeviceError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<AdminGetUserError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<AdminGetUserError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<AdminInitiateAuthError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<AdminInitiateAuthError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<AdminLinkProviderForUserError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<AdminLinkProviderForUserError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<AdminListDevicesError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<AdminListDevicesError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<AdminListGroupsForUserError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<AdminListGroupsForUserError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<AdminListUserAuthEventsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<AdminListUserAuthEventsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<AdminRemoveUserFromGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<AdminRemoveUserFromGroupError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<AdminResetUserPasswordError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<AdminResetUserPasswordError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<AdminRespondToAuthChallengeError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<AdminRespondToAuthChallengeError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<AdminSetUserMFAPreferenceError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<AdminSetUserMFAPreferenceError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<AdminSetUserPasswordError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<AdminSetUserPasswordError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<AdminSetUserSettingsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<AdminSetUserSettingsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<AdminUpdateAuthEventFeedbackError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<AdminUpdateAuthEventFeedbackError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<AdminUpdateDeviceStatusError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<AdminUpdateDeviceStatusError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<AdminUpdateUserAttributesError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<AdminUpdateUserAttributesError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<AdminUserGlobalSignOutError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<AdminUserGlobalSignOutError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<AssociateSoftwareTokenError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<AssociateSoftwareTokenError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ChangePasswordError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ChangePasswordError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ConfirmDeviceError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ConfirmDeviceError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ConfirmForgotPasswordError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ConfirmForgotPasswordError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ConfirmSignUpError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ConfirmSignUpError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateGroupError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateIdentityProviderError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateIdentityProviderError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateResourceServerError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateResourceServerError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateUserImportJobError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateUserImportJobError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateUserPoolClientError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateUserPoolClientError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateUserPoolDomainError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateUserPoolDomainError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateUserPoolError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateUserPoolError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteGroupError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteIdentityProviderError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteIdentityProviderError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteResourceServerError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteResourceServerError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteUserAttributesError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteUserAttributesError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteUserError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteUserError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteUserPoolClientError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteUserPoolClientError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteUserPoolDomainError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteUserPoolDomainError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteUserPoolError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteUserPoolError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeIdentityProviderError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DescribeIdentityProviderError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeResourceServerError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DescribeResourceServerError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeRiskConfigurationError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DescribeRiskConfigurationError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeUserImportJobError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DescribeUserImportJobError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeUserPoolClientError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DescribeUserPoolClientError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeUserPoolDomainError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DescribeUserPoolDomainError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeUserPoolError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DescribeUserPoolError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ForgetDeviceError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ForgetDeviceError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ForgotPasswordError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ForgotPasswordError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetCSVHeaderError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetCSVHeaderError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetDeviceError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetDeviceError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetGroupError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetIdentityProviderByIdentifierError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetIdentityProviderByIdentifierError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetLogDeliveryConfigurationError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetLogDeliveryConfigurationError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetSigningCertificateError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetSigningCertificateError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetUICustomizationError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetUICustomizationError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetUserAttributeVerificationCodeError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetUserAttributeVerificationCodeError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetUserError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetUserError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetUserPoolMfaConfigError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetUserPoolMfaConfigError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GlobalSignOutError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GlobalSignOutError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<InitiateAuthError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<InitiateAuthError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListDevicesError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListDevicesError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListGroupsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListGroupsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListIdentityProvidersError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListIdentityProvidersError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListResourceServersError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListResourceServersError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListTagsForResourceError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListTagsForResourceError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListUserImportJobsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListUserImportJobsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListUserPoolClientsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListUserPoolClientsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListUserPoolsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListUserPoolsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListUsersError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListUsersError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListUsersInGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListUsersInGroupError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ResendConfirmationCodeError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ResendConfirmationCodeError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<RespondToAuthChallengeError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<RespondToAuthChallengeError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<RevokeTokenError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<RevokeTokenError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<SetLogDeliveryConfigurationError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<SetLogDeliveryConfigurationError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<SetRiskConfigurationError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<SetRiskConfigurationError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<SetUICustomizationError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<SetUICustomizationError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<SetUserMFAPreferenceError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<SetUserMFAPreferenceError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<SetUserPoolMfaConfigError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<SetUserPoolMfaConfigError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<SetUserSettingsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<SetUserSettingsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<SignUpError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<SignUpError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<StartUserImportJobError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<StartUserImportJobError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<StopUserImportJobError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<StopUserImportJobError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<TagResourceError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<TagResourceError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UntagResourceError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UntagResourceError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateAuthEventFeedbackError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateAuthEventFeedbackError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateDeviceStatusError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateDeviceStatusError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateGroupError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateIdentityProviderError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateIdentityProviderError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateResourceServerError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateResourceServerError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateUserAttributesError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateUserAttributesError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateUserPoolClientError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateUserPoolClientError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateUserPoolDomainError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateUserPoolDomainError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateUserPoolError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateUserPoolError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<VerifySoftwareTokenError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<VerifySoftwareTokenError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<VerifyUserAttributeError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<VerifyUserAttributeError, R>) -> Self

Converts to this type from the input type.
source§

impl From<SetLogDeliveryConfigurationError> for Error

source§

fn from(err: SetLogDeliveryConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<SetRiskConfigurationError> for Error

source§

fn from(err: SetRiskConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<SetUICustomizationError> for Error

source§

fn from(err: SetUICustomizationError) -> Self

Converts to this type from the input type.
source§

impl From<SetUserMFAPreferenceError> for Error

source§

fn from(err: SetUserMFAPreferenceError) -> Self

Converts to this type from the input type.
source§

impl From<SetUserPoolMfaConfigError> for Error

source§

fn from(err: SetUserPoolMfaConfigError) -> Self

Converts to this type from the input type.
source§

impl From<SetUserSettingsError> for Error

source§

fn from(err: SetUserSettingsError) -> Self

Converts to this type from the input type.
source§

impl From<SignUpError> for Error

source§

fn from(err: SignUpError) -> Self

Converts to this type from the input type.
source§

impl From<StartUserImportJobError> for Error

source§

fn from(err: StartUserImportJobError) -> Self

Converts to this type from the input type.
source§

impl From<StopUserImportJobError> for Error

source§

fn from(err: StopUserImportJobError) -> Self

Converts to this type from the input type.
source§

impl From<TagResourceError> for Error

source§

fn from(err: TagResourceError) -> Self

Converts to this type from the input type.
source§

impl From<UntagResourceError> for Error

source§

fn from(err: UntagResourceError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateAuthEventFeedbackError> for Error

source§

fn from(err: UpdateAuthEventFeedbackError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateDeviceStatusError> for Error

source§

fn from(err: UpdateDeviceStatusError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateGroupError> for Error

source§

fn from(err: UpdateGroupError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateIdentityProviderError> for Error

source§

fn from(err: UpdateIdentityProviderError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateResourceServerError> for Error

source§

fn from(err: UpdateResourceServerError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateUserAttributesError> for Error

source§

fn from(err: UpdateUserAttributesError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateUserPoolClientError> for Error

source§

fn from(err: UpdateUserPoolClientError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateUserPoolDomainError> for Error

source§

fn from(err: UpdateUserPoolDomainError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateUserPoolError> for Error

source§

fn from(err: UpdateUserPoolError) -> Self

Converts to this type from the input type.
source§

impl From<VerifySoftwareTokenError> for Error

source§

fn from(err: VerifySoftwareTokenError) -> Self

Converts to this type from the input type.
source§

impl From<VerifyUserAttributeError> for Error

source§

fn from(err: VerifyUserAttributeError) -> Self

Converts to this type from the input type.
source§

impl ProvideErrorMetadata for Error

source§

fn meta(&self) -> &ErrorMetadata

Returns error metadata, which includes the error code, message, request ID, and potentially additional information.
source§

fn code(&self) -> Option<&str>

Returns the error code if it’s available.
source§

fn message(&self) -> Option<&str>

Returns the error message, if there is one.
source§

impl RequestId for Error

source§

fn request_id(&self) -> Option<&str>

Returns the request ID, or None if the service could not be reached.

Auto Trait Implementations§

§

impl !RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl !UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more