aws_sdk_workspacesweb::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 AssociateBrowserSettingsError

Source§

impl ProvideErrorMetadata for AssociateDataProtectionSettingsError

Source§

impl ProvideErrorMetadata for AssociateIpAccessSettingsError

Source§

impl ProvideErrorMetadata for AssociateNetworkSettingsError

Source§

impl ProvideErrorMetadata for AssociateTrustStoreError

Source§

impl ProvideErrorMetadata for AssociateUserAccessLoggingSettingsError

Source§

impl ProvideErrorMetadata for AssociateUserSettingsError

Source§

impl ProvideErrorMetadata for CreateBrowserSettingsError

Source§

impl ProvideErrorMetadata for CreateDataProtectionSettingsError

Source§

impl ProvideErrorMetadata for CreateIdentityProviderError

Source§

impl ProvideErrorMetadata for CreateIpAccessSettingsError

Source§

impl ProvideErrorMetadata for CreateNetworkSettingsError

Source§

impl ProvideErrorMetadata for CreatePortalError

Source§

impl ProvideErrorMetadata for CreateTrustStoreError

Source§

impl ProvideErrorMetadata for CreateUserAccessLoggingSettingsError

Source§

impl ProvideErrorMetadata for CreateUserSettingsError

Source§

impl ProvideErrorMetadata for DeleteBrowserSettingsError

Source§

impl ProvideErrorMetadata for DeleteDataProtectionSettingsError

Source§

impl ProvideErrorMetadata for DeleteIdentityProviderError

Source§

impl ProvideErrorMetadata for DeleteIpAccessSettingsError

Source§

impl ProvideErrorMetadata for DeleteNetworkSettingsError

Source§

impl ProvideErrorMetadata for DeletePortalError

Source§

impl ProvideErrorMetadata for DeleteTrustStoreError

Source§

impl ProvideErrorMetadata for DeleteUserAccessLoggingSettingsError

Source§

impl ProvideErrorMetadata for DeleteUserSettingsError

Source§

impl ProvideErrorMetadata for DisassociateBrowserSettingsError

Source§

impl ProvideErrorMetadata for DisassociateDataProtectionSettingsError

Source§

impl ProvideErrorMetadata for DisassociateIpAccessSettingsError

Source§

impl ProvideErrorMetadata for DisassociateNetworkSettingsError

Source§

impl ProvideErrorMetadata for DisassociateTrustStoreError

Source§

impl ProvideErrorMetadata for DisassociateUserAccessLoggingSettingsError

Source§

impl ProvideErrorMetadata for DisassociateUserSettingsError

Source§

impl ProvideErrorMetadata for ExpireSessionError

Source§

impl ProvideErrorMetadata for GetBrowserSettingsError

Source§

impl ProvideErrorMetadata for GetDataProtectionSettingsError

Source§

impl ProvideErrorMetadata for GetIdentityProviderError

Source§

impl ProvideErrorMetadata for GetIpAccessSettingsError

Source§

impl ProvideErrorMetadata for GetNetworkSettingsError

Source§

impl ProvideErrorMetadata for GetPortalError

Source§

impl ProvideErrorMetadata for GetPortalServiceProviderMetadataError

Source§

impl ProvideErrorMetadata for GetSessionError

Source§

impl ProvideErrorMetadata for GetTrustStoreError

Source§

impl ProvideErrorMetadata for GetTrustStoreCertificateError

Source§

impl ProvideErrorMetadata for GetUserAccessLoggingSettingsError

Source§

impl ProvideErrorMetadata for GetUserSettingsError

Source§

impl ProvideErrorMetadata for ListBrowserSettingsError

Source§

impl ProvideErrorMetadata for ListDataProtectionSettingsError

Source§

impl ProvideErrorMetadata for ListIdentityProvidersError

Source§

impl ProvideErrorMetadata for ListIpAccessSettingsError

Source§

impl ProvideErrorMetadata for ListNetworkSettingsError

Source§

impl ProvideErrorMetadata for ListPortalsError

Source§

impl ProvideErrorMetadata for ListSessionsError

Source§

impl ProvideErrorMetadata for ListTagsForResourceError

Source§

impl ProvideErrorMetadata for ListTrustStoreCertificatesError

Source§

impl ProvideErrorMetadata for ListTrustStoresError

Source§

impl ProvideErrorMetadata for ListUserAccessLoggingSettingsError

Source§

impl ProvideErrorMetadata for ListUserSettingsError

Source§

impl ProvideErrorMetadata for TagResourceError

Source§

impl ProvideErrorMetadata for UntagResourceError

Source§

impl ProvideErrorMetadata for UpdateBrowserSettingsError

Source§

impl ProvideErrorMetadata for UpdateDataProtectionSettingsError

Source§

impl ProvideErrorMetadata for UpdateIdentityProviderError

Source§

impl ProvideErrorMetadata for UpdateIpAccessSettingsError

Source§

impl ProvideErrorMetadata for UpdateNetworkSettingsError

Source§

impl ProvideErrorMetadata for UpdatePortalError

Source§

impl ProvideErrorMetadata for UpdateTrustStoreError

Source§

impl ProvideErrorMetadata for UpdateUserAccessLoggingSettingsError

Source§

impl ProvideErrorMetadata for UpdateUserSettingsError

Source§

impl ProvideErrorMetadata for AccessDeniedException

Source§

impl ProvideErrorMetadata for ConflictException

Source§

impl ProvideErrorMetadata for InternalServerException

Source§

impl ProvideErrorMetadata for ResourceNotFoundException

Source§

impl ProvideErrorMetadata for ServiceQuotaExceededException

Source§

impl ProvideErrorMetadata for ThrottlingException

Source§

impl ProvideErrorMetadata for TooManyTagsException

Source§

impl ProvideErrorMetadata for ValidationException

Source§

impl ProvideErrorMetadata for ErrorMetadata