aws_sdk_workmail::error

Trait ProvideErrorMetadata

Source
pub trait ProvideErrorMetadata {
    // Required method
    fn meta(&self) -> &ErrorMetadata;

    // Provided methods
    fn code(&self) -> Option<&str> { ... }
    fn message(&self) -> Option<&str> { ... }
}
Expand description

Trait to retrieve error metadata from a result

Required Methods§

Source

fn meta(&self) -> &ErrorMetadata

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

Provided Methods§

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.

Implementations on Foreign Types§

Source§

impl<E, R> ProvideErrorMetadata for SdkError<E, R>

Source§

impl<O, E> ProvideErrorMetadata for WaiterError<O, E>

Implementors§

Source§

impl ProvideErrorMetadata for Error

Source§

impl ProvideErrorMetadata for AssociateDelegateToResourceError

Source§

impl ProvideErrorMetadata for AssociateMemberToGroupError

Source§

impl ProvideErrorMetadata for AssumeImpersonationRoleError

Source§

impl ProvideErrorMetadata for CancelMailboxExportJobError

Source§

impl ProvideErrorMetadata for CreateAliasError

Source§

impl ProvideErrorMetadata for CreateAvailabilityConfigurationError

Source§

impl ProvideErrorMetadata for CreateGroupError

Source§

impl ProvideErrorMetadata for CreateIdentityCenterApplicationError

Source§

impl ProvideErrorMetadata for CreateImpersonationRoleError

Source§

impl ProvideErrorMetadata for CreateMobileDeviceAccessRuleError

Source§

impl ProvideErrorMetadata for CreateOrganizationError

Source§

impl ProvideErrorMetadata for CreateResourceError

Source§

impl ProvideErrorMetadata for CreateUserError

Source§

impl ProvideErrorMetadata for DeleteAccessControlRuleError

Source§

impl ProvideErrorMetadata for DeleteAliasError

Source§

impl ProvideErrorMetadata for DeleteAvailabilityConfigurationError

Source§

impl ProvideErrorMetadata for DeleteEmailMonitoringConfigurationError

Source§

impl ProvideErrorMetadata for DeleteGroupError

Source§

impl ProvideErrorMetadata for DeleteIdentityCenterApplicationError

Source§

impl ProvideErrorMetadata for DeleteIdentityProviderConfigurationError

Source§

impl ProvideErrorMetadata for DeleteImpersonationRoleError

Source§

impl ProvideErrorMetadata for DeleteMailboxPermissionsError

Source§

impl ProvideErrorMetadata for DeleteMobileDeviceAccessOverrideError

Source§

impl ProvideErrorMetadata for DeleteMobileDeviceAccessRuleError

Source§

impl ProvideErrorMetadata for DeleteOrganizationError

Source§

impl ProvideErrorMetadata for DeletePersonalAccessTokenError

Source§

impl ProvideErrorMetadata for DeleteResourceError

Source§

impl ProvideErrorMetadata for DeleteRetentionPolicyError

Source§

impl ProvideErrorMetadata for DeleteUserError

Source§

impl ProvideErrorMetadata for DeregisterFromWorkMailError

Source§

impl ProvideErrorMetadata for DeregisterMailDomainError

Source§

impl ProvideErrorMetadata for DescribeEmailMonitoringConfigurationError

Source§

impl ProvideErrorMetadata for DescribeEntityError

Source§

impl ProvideErrorMetadata for DescribeGroupError

Source§

impl ProvideErrorMetadata for DescribeIdentityProviderConfigurationError

Source§

impl ProvideErrorMetadata for DescribeInboundDmarcSettingsError

Source§

impl ProvideErrorMetadata for DescribeMailboxExportJobError

Source§

impl ProvideErrorMetadata for DescribeOrganizationError

Source§

impl ProvideErrorMetadata for DescribeResourceError

Source§

impl ProvideErrorMetadata for DescribeUserError

Source§

impl ProvideErrorMetadata for DisassociateDelegateFromResourceError

Source§

impl ProvideErrorMetadata for DisassociateMemberFromGroupError

Source§

impl ProvideErrorMetadata for GetAccessControlEffectError

Source§

impl ProvideErrorMetadata for GetDefaultRetentionPolicyError

Source§

impl ProvideErrorMetadata for GetImpersonationRoleError

Source§

impl ProvideErrorMetadata for GetImpersonationRoleEffectError

Source§

impl ProvideErrorMetadata for GetMailDomainError

Source§

impl ProvideErrorMetadata for GetMailboxDetailsError

Source§

impl ProvideErrorMetadata for GetMobileDeviceAccessEffectError

Source§

impl ProvideErrorMetadata for GetMobileDeviceAccessOverrideError

Source§

impl ProvideErrorMetadata for GetPersonalAccessTokenMetadataError

Source§

impl ProvideErrorMetadata for ListAccessControlRulesError

Source§

impl ProvideErrorMetadata for ListAliasesError

Source§

impl ProvideErrorMetadata for ListAvailabilityConfigurationsError

Source§

impl ProvideErrorMetadata for ListGroupMembersError

Source§

impl ProvideErrorMetadata for ListGroupsError

Source§

impl ProvideErrorMetadata for ListGroupsForEntityError

Source§

impl ProvideErrorMetadata for ListImpersonationRolesError

Source§

impl ProvideErrorMetadata for ListMailDomainsError

Source§

impl ProvideErrorMetadata for ListMailboxExportJobsError

Source§

impl ProvideErrorMetadata for ListMailboxPermissionsError

Source§

impl ProvideErrorMetadata for ListMobileDeviceAccessOverridesError

Source§

impl ProvideErrorMetadata for ListMobileDeviceAccessRulesError

Source§

impl ProvideErrorMetadata for ListOrganizationsError

Source§

impl ProvideErrorMetadata for ListPersonalAccessTokensError

Source§

impl ProvideErrorMetadata for ListResourceDelegatesError

Source§

impl ProvideErrorMetadata for ListResourcesError

Source§

impl ProvideErrorMetadata for ListTagsForResourceError

Source§

impl ProvideErrorMetadata for ListUsersError

Source§

impl ProvideErrorMetadata for PutAccessControlRuleError

Source§

impl ProvideErrorMetadata for PutEmailMonitoringConfigurationError

Source§

impl ProvideErrorMetadata for PutIdentityProviderConfigurationError

Source§

impl ProvideErrorMetadata for PutInboundDmarcSettingsError

Source§

impl ProvideErrorMetadata for PutMailboxPermissionsError

Source§

impl ProvideErrorMetadata for PutMobileDeviceAccessOverrideError

Source§

impl ProvideErrorMetadata for PutRetentionPolicyError

Source§

impl ProvideErrorMetadata for RegisterMailDomainError

Source§

impl ProvideErrorMetadata for RegisterToWorkMailError

Source§

impl ProvideErrorMetadata for ResetPasswordError

Source§

impl ProvideErrorMetadata for StartMailboxExportJobError

Source§

impl ProvideErrorMetadata for TagResourceError

Source§

impl ProvideErrorMetadata for TestAvailabilityConfigurationError

Source§

impl ProvideErrorMetadata for UntagResourceError

Source§

impl ProvideErrorMetadata for UpdateAvailabilityConfigurationError

Source§

impl ProvideErrorMetadata for UpdateDefaultMailDomainError

Source§

impl ProvideErrorMetadata for UpdateGroupError

Source§

impl ProvideErrorMetadata for UpdateImpersonationRoleError

Source§

impl ProvideErrorMetadata for UpdateMailboxQuotaError

Source§

impl ProvideErrorMetadata for UpdateMobileDeviceAccessRuleError

Source§

impl ProvideErrorMetadata for UpdatePrimaryEmailAddressError

Source§

impl ProvideErrorMetadata for UpdateResourceError

Source§

impl ProvideErrorMetadata for UpdateUserError

Source§

impl ProvideErrorMetadata for DirectoryInUseException

Source§

impl ProvideErrorMetadata for DirectoryServiceAuthenticationFailedException

Source§

impl ProvideErrorMetadata for DirectoryUnavailableException

Source§

impl ProvideErrorMetadata for EmailAddressInUseException

Source§

impl ProvideErrorMetadata for EntityAlreadyRegisteredException

Source§

impl ProvideErrorMetadata for EntityNotFoundException

Source§

impl ProvideErrorMetadata for EntityStateException

Source§

impl ProvideErrorMetadata for InvalidConfigurationException

Source§

impl ProvideErrorMetadata for InvalidCustomSesConfigurationException

Source§

impl ProvideErrorMetadata for InvalidParameterException

Source§

impl ProvideErrorMetadata for InvalidPasswordException

Source§

impl ProvideErrorMetadata for LimitExceededException

Source§

impl ProvideErrorMetadata for MailDomainInUseException

Source§

impl ProvideErrorMetadata for MailDomainNotFoundException

Source§

impl ProvideErrorMetadata for MailDomainStateException

Source§

impl ProvideErrorMetadata for NameAvailabilityException

Source§

impl ProvideErrorMetadata for OrganizationNotFoundException

Source§

impl ProvideErrorMetadata for OrganizationStateException

Source§

impl ProvideErrorMetadata for ReservedNameException

Source§

impl ProvideErrorMetadata for ResourceNotFoundException

Source§

impl ProvideErrorMetadata for TooManyTagsException

Source§

impl ProvideErrorMetadata for UnsupportedOperationException

Source§

impl ProvideErrorMetadata for ErrorMetadata