ProvideErrorMetadata

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 AcceptGrantError

Source§

impl ProvideErrorMetadata for CheckInLicenseError

Source§

impl ProvideErrorMetadata for CheckoutBorrowLicenseError

Source§

impl ProvideErrorMetadata for CheckoutLicenseError

Source§

impl ProvideErrorMetadata for CreateGrantError

Source§

impl ProvideErrorMetadata for CreateGrantVersionError

Source§

impl ProvideErrorMetadata for CreateLicenseError

Source§

impl ProvideErrorMetadata for CreateLicenseAssetGroupError

Source§

impl ProvideErrorMetadata for CreateLicenseAssetRulesetError

Source§

impl ProvideErrorMetadata for CreateLicenseConfigurationError

Source§

impl ProvideErrorMetadata for CreateLicenseConversionTaskForResourceError

Source§

impl ProvideErrorMetadata for CreateLicenseManagerReportGeneratorError

Source§

impl ProvideErrorMetadata for CreateLicenseVersionError

Source§

impl ProvideErrorMetadata for CreateTokenError

Source§

impl ProvideErrorMetadata for DeleteGrantError

Source§

impl ProvideErrorMetadata for DeleteLicenseError

Source§

impl ProvideErrorMetadata for DeleteLicenseAssetGroupError

Source§

impl ProvideErrorMetadata for DeleteLicenseAssetRulesetError

Source§

impl ProvideErrorMetadata for DeleteLicenseConfigurationError

Source§

impl ProvideErrorMetadata for DeleteLicenseManagerReportGeneratorError

Source§

impl ProvideErrorMetadata for DeleteTokenError

Source§

impl ProvideErrorMetadata for ExtendLicenseConsumptionError

Source§

impl ProvideErrorMetadata for GetAccessTokenError

Source§

impl ProvideErrorMetadata for GetGrantError

Source§

impl ProvideErrorMetadata for GetLicenseError

Source§

impl ProvideErrorMetadata for GetLicenseAssetGroupError

Source§

impl ProvideErrorMetadata for GetLicenseAssetRulesetError

Source§

impl ProvideErrorMetadata for GetLicenseConfigurationError

Source§

impl ProvideErrorMetadata for GetLicenseConversionTaskError

Source§

impl ProvideErrorMetadata for GetLicenseManagerReportGeneratorError

Source§

impl ProvideErrorMetadata for GetLicenseUsageError

Source§

impl ProvideErrorMetadata for GetServiceSettingsError

Source§

impl ProvideErrorMetadata for ListAssetsForLicenseAssetGroupError

Source§

impl ProvideErrorMetadata for ListAssociationsForLicenseConfigurationError

Source§

impl ProvideErrorMetadata for ListDistributedGrantsError

Source§

impl ProvideErrorMetadata for ListFailuresForLicenseConfigurationOperationsError

Source§

impl ProvideErrorMetadata for ListLicenseAssetGroupsError

Source§

impl ProvideErrorMetadata for ListLicenseAssetRulesetsError

Source§

impl ProvideErrorMetadata for ListLicenseConfigurationsError

Source§

impl ProvideErrorMetadata for ListLicenseConfigurationsForOrganizationError

Source§

impl ProvideErrorMetadata for ListLicenseConversionTasksError

Source§

impl ProvideErrorMetadata for ListLicenseManagerReportGeneratorsError

Source§

impl ProvideErrorMetadata for ListLicenseSpecificationsForResourceError

Source§

impl ProvideErrorMetadata for ListLicenseVersionsError

Source§

impl ProvideErrorMetadata for ListLicensesError

Source§

impl ProvideErrorMetadata for ListReceivedGrantsError

Source§

impl ProvideErrorMetadata for ListReceivedGrantsForOrganizationError

Source§

impl ProvideErrorMetadata for ListReceivedLicensesError

Source§

impl ProvideErrorMetadata for ListReceivedLicensesForOrganizationError

Source§

impl ProvideErrorMetadata for ListResourceInventoryError

Source§

impl ProvideErrorMetadata for ListTagsForResourceError

Source§

impl ProvideErrorMetadata for ListTokensError

Source§

impl ProvideErrorMetadata for ListUsageForLicenseConfigurationError

Source§

impl ProvideErrorMetadata for RejectGrantError

Source§

impl ProvideErrorMetadata for TagResourceError

Source§

impl ProvideErrorMetadata for UntagResourceError

Source§

impl ProvideErrorMetadata for UpdateLicenseAssetGroupError

Source§

impl ProvideErrorMetadata for UpdateLicenseAssetRulesetError

Source§

impl ProvideErrorMetadata for UpdateLicenseConfigurationError

Source§

impl ProvideErrorMetadata for UpdateLicenseManagerReportGeneratorError

Source§

impl ProvideErrorMetadata for UpdateLicenseSpecificationsForResourceError

Source§

impl ProvideErrorMetadata for UpdateServiceSettingsError

Source§

impl ProvideErrorMetadata for AccessDeniedException

Source§

impl ProvideErrorMetadata for AuthorizationException

Source§

impl ProvideErrorMetadata for ConflictException

Source§

impl ProvideErrorMetadata for EntitlementNotAllowedException

Source§

impl ProvideErrorMetadata for FailedDependencyException

Source§

impl ProvideErrorMetadata for FilterLimitExceededException

Source§

impl ProvideErrorMetadata for InvalidParameterValueException

Source§

impl ProvideErrorMetadata for InvalidResourceStateException

Source§

impl ProvideErrorMetadata for LicenseUsageException

Source§

impl ProvideErrorMetadata for NoEntitlementsAllowedException

Source§

impl ProvideErrorMetadata for RateLimitExceededException

Source§

impl ProvideErrorMetadata for RedirectException

Source§

impl ProvideErrorMetadata for ResourceLimitExceededException

Source§

impl ProvideErrorMetadata for ResourceNotFoundException

Source§

impl ProvideErrorMetadata for ServerInternalException

Source§

impl ProvideErrorMetadata for UnsupportedDigitalSignatureMethodException

Source§

impl ProvideErrorMetadata for ValidationException

Source§

impl ProvideErrorMetadata for ErrorMetadata