aws_sdk_datazone::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 AcceptPredictionsError

Source§

impl ProvideErrorMetadata for AcceptSubscriptionRequestError

Source§

impl ProvideErrorMetadata for AddEntityOwnerError

Source§

impl ProvideErrorMetadata for AddPolicyGrantError

Source§

impl ProvideErrorMetadata for AssociateEnvironmentRoleError

Source§

impl ProvideErrorMetadata for CancelMetadataGenerationRunError

Source§

impl ProvideErrorMetadata for CancelSubscriptionError

Source§

impl ProvideErrorMetadata for CreateAssetError

Source§

impl ProvideErrorMetadata for CreateAssetFilterError

Source§

impl ProvideErrorMetadata for CreateAssetRevisionError

Source§

impl ProvideErrorMetadata for CreateAssetTypeError

Source§

impl ProvideErrorMetadata for CreateConnectionError

Source§

impl ProvideErrorMetadata for CreateDataProductError

Source§

impl ProvideErrorMetadata for CreateDataProductRevisionError

Source§

impl ProvideErrorMetadata for CreateDataSourceError

Source§

impl ProvideErrorMetadata for CreateDomainError

Source§

impl ProvideErrorMetadata for CreateDomainUnitError

Source§

impl ProvideErrorMetadata for CreateEnvironmentError

Source§

impl ProvideErrorMetadata for CreateEnvironmentActionError

Source§

impl ProvideErrorMetadata for CreateEnvironmentProfileError

Source§

impl ProvideErrorMetadata for CreateFormTypeError

Source§

impl ProvideErrorMetadata for CreateGlossaryError

Source§

impl ProvideErrorMetadata for CreateGlossaryTermError

Source§

impl ProvideErrorMetadata for CreateGroupProfileError

Source§

impl ProvideErrorMetadata for CreateListingChangeSetError

Source§

impl ProvideErrorMetadata for CreateProjectError

Source§

impl ProvideErrorMetadata for CreateProjectMembershipError

Source§

impl ProvideErrorMetadata for CreateProjectProfileError

Source§

impl ProvideErrorMetadata for CreateRuleError

Source§

impl ProvideErrorMetadata for CreateSubscriptionGrantError

Source§

impl ProvideErrorMetadata for CreateSubscriptionRequestError

Source§

impl ProvideErrorMetadata for CreateSubscriptionTargetError

Source§

impl ProvideErrorMetadata for CreateUserProfileError

Source§

impl ProvideErrorMetadata for DeleteAssetError

Source§

impl ProvideErrorMetadata for DeleteAssetFilterError

Source§

impl ProvideErrorMetadata for DeleteAssetTypeError

Source§

impl ProvideErrorMetadata for DeleteConnectionError

Source§

impl ProvideErrorMetadata for DeleteDataProductError

Source§

impl ProvideErrorMetadata for DeleteDataSourceError

Source§

impl ProvideErrorMetadata for DeleteDomainError

Source§

impl ProvideErrorMetadata for DeleteDomainUnitError

Source§

impl ProvideErrorMetadata for DeleteEnvironmentError

Source§

impl ProvideErrorMetadata for DeleteEnvironmentActionError

Source§

impl ProvideErrorMetadata for DeleteEnvironmentBlueprintConfigurationError

Source§

impl ProvideErrorMetadata for DeleteEnvironmentProfileError

Source§

impl ProvideErrorMetadata for DeleteFormTypeError

Source§

impl ProvideErrorMetadata for DeleteGlossaryError

Source§

impl ProvideErrorMetadata for DeleteGlossaryTermError

Source§

impl ProvideErrorMetadata for DeleteListingError

Source§

impl ProvideErrorMetadata for DeleteProjectError

Source§

impl ProvideErrorMetadata for DeleteProjectMembershipError

Source§

impl ProvideErrorMetadata for DeleteProjectProfileError

Source§

impl ProvideErrorMetadata for DeleteRuleError

Source§

impl ProvideErrorMetadata for DeleteSubscriptionGrantError

Source§

impl ProvideErrorMetadata for DeleteSubscriptionRequestError

Source§

impl ProvideErrorMetadata for DeleteSubscriptionTargetError

Source§

impl ProvideErrorMetadata for DeleteTimeSeriesDataPointsError

Source§

impl ProvideErrorMetadata for DisassociateEnvironmentRoleError

Source§

impl ProvideErrorMetadata for GetAssetError

Source§

impl ProvideErrorMetadata for GetAssetFilterError

Source§

impl ProvideErrorMetadata for GetAssetTypeError

Source§

impl ProvideErrorMetadata for GetConnectionError

Source§

impl ProvideErrorMetadata for GetDataProductError

Source§

impl ProvideErrorMetadata for GetDataSourceError

Source§

impl ProvideErrorMetadata for GetDataSourceRunError

Source§

impl ProvideErrorMetadata for GetDomainError

Source§

impl ProvideErrorMetadata for GetDomainUnitError

Source§

impl ProvideErrorMetadata for GetEnvironmentError

Source§

impl ProvideErrorMetadata for GetEnvironmentActionError

Source§

impl ProvideErrorMetadata for GetEnvironmentBlueprintError

Source§

impl ProvideErrorMetadata for GetEnvironmentBlueprintConfigurationError

Source§

impl ProvideErrorMetadata for GetEnvironmentCredentialsError

Source§

impl ProvideErrorMetadata for GetEnvironmentProfileError

Source§

impl ProvideErrorMetadata for GetFormTypeError

Source§

impl ProvideErrorMetadata for GetGlossaryError

Source§

impl ProvideErrorMetadata for GetGlossaryTermError

Source§

impl ProvideErrorMetadata for GetGroupProfileError

Source§

impl ProvideErrorMetadata for GetIamPortalLoginUrlError

Source§

impl ProvideErrorMetadata for GetJobRunError

Source§

impl ProvideErrorMetadata for GetLineageEventError

Source§

impl ProvideErrorMetadata for GetLineageNodeError

Source§

impl ProvideErrorMetadata for GetListingError

Source§

impl ProvideErrorMetadata for GetMetadataGenerationRunError

Source§

impl ProvideErrorMetadata for GetProjectError

Source§

impl ProvideErrorMetadata for GetProjectProfileError

Source§

impl ProvideErrorMetadata for GetRuleError

Source§

impl ProvideErrorMetadata for GetSubscriptionError

Source§

impl ProvideErrorMetadata for GetSubscriptionGrantError

Source§

impl ProvideErrorMetadata for GetSubscriptionRequestDetailsError

Source§

impl ProvideErrorMetadata for GetSubscriptionTargetError

Source§

impl ProvideErrorMetadata for GetTimeSeriesDataPointError

Source§

impl ProvideErrorMetadata for GetUserProfileError

Source§

impl ProvideErrorMetadata for ListAssetFiltersError

Source§

impl ProvideErrorMetadata for ListAssetRevisionsError

Source§

impl ProvideErrorMetadata for ListConnectionsError

Source§

impl ProvideErrorMetadata for ListDataProductRevisionsError

Source§

impl ProvideErrorMetadata for ListDataSourceRunActivitiesError

Source§

impl ProvideErrorMetadata for ListDataSourceRunsError

Source§

impl ProvideErrorMetadata for ListDataSourcesError

Source§

impl ProvideErrorMetadata for ListDomainUnitsForParentError

Source§

impl ProvideErrorMetadata for ListDomainsError

Source§

impl ProvideErrorMetadata for ListEntityOwnersError

Source§

impl ProvideErrorMetadata for ListEnvironmentActionsError

Source§

impl ProvideErrorMetadata for ListEnvironmentBlueprintConfigurationsError

Source§

impl ProvideErrorMetadata for ListEnvironmentBlueprintsError

Source§

impl ProvideErrorMetadata for ListEnvironmentProfilesError

Source§

impl ProvideErrorMetadata for ListEnvironmentsError

Source§

impl ProvideErrorMetadata for ListJobRunsError

Source§

impl ProvideErrorMetadata for ListLineageEventsError

Source§

impl ProvideErrorMetadata for ListLineageNodeHistoryError

Source§

impl ProvideErrorMetadata for ListMetadataGenerationRunsError

Source§

impl ProvideErrorMetadata for ListNotificationsError

Source§

impl ProvideErrorMetadata for ListPolicyGrantsError

Source§

impl ProvideErrorMetadata for ListProjectMembershipsError

Source§

impl ProvideErrorMetadata for ListProjectProfilesError

Source§

impl ProvideErrorMetadata for ListProjectsError

Source§

impl ProvideErrorMetadata for ListRulesError

Source§

impl ProvideErrorMetadata for ListSubscriptionGrantsError

Source§

impl ProvideErrorMetadata for ListSubscriptionRequestsError

Source§

impl ProvideErrorMetadata for ListSubscriptionTargetsError

Source§

impl ProvideErrorMetadata for ListSubscriptionsError

Source§

impl ProvideErrorMetadata for ListTagsForResourceError

Source§

impl ProvideErrorMetadata for ListTimeSeriesDataPointsError

Source§

impl ProvideErrorMetadata for PostLineageEventError

Source§

impl ProvideErrorMetadata for PostTimeSeriesDataPointsError

Source§

impl ProvideErrorMetadata for PutEnvironmentBlueprintConfigurationError

Source§

impl ProvideErrorMetadata for RejectPredictionsError

Source§

impl ProvideErrorMetadata for RejectSubscriptionRequestError

Source§

impl ProvideErrorMetadata for RemoveEntityOwnerError

Source§

impl ProvideErrorMetadata for RemovePolicyGrantError

Source§

impl ProvideErrorMetadata for RevokeSubscriptionError

Source§

impl ProvideErrorMetadata for SearchError

Source§

impl ProvideErrorMetadata for SearchGroupProfilesError

Source§

impl ProvideErrorMetadata for SearchListingsError

Source§

impl ProvideErrorMetadata for SearchTypesError

Source§

impl ProvideErrorMetadata for SearchUserProfilesError

Source§

impl ProvideErrorMetadata for StartDataSourceRunError

Source§

impl ProvideErrorMetadata for StartMetadataGenerationRunError

Source§

impl ProvideErrorMetadata for TagResourceError

Source§

impl ProvideErrorMetadata for UntagResourceError

Source§

impl ProvideErrorMetadata for UpdateAssetFilterError

Source§

impl ProvideErrorMetadata for UpdateConnectionError

Source§

impl ProvideErrorMetadata for UpdateDataSourceError

Source§

impl ProvideErrorMetadata for UpdateDomainError

Source§

impl ProvideErrorMetadata for UpdateDomainUnitError

Source§

impl ProvideErrorMetadata for UpdateEnvironmentError

Source§

impl ProvideErrorMetadata for UpdateEnvironmentActionError

Source§

impl ProvideErrorMetadata for UpdateEnvironmentProfileError

Source§

impl ProvideErrorMetadata for UpdateGlossaryError

Source§

impl ProvideErrorMetadata for UpdateGlossaryTermError

Source§

impl ProvideErrorMetadata for UpdateGroupProfileError

Source§

impl ProvideErrorMetadata for UpdateProjectError

Source§

impl ProvideErrorMetadata for UpdateProjectProfileError

Source§

impl ProvideErrorMetadata for UpdateRuleError

Source§

impl ProvideErrorMetadata for UpdateSubscriptionGrantStatusError

Source§

impl ProvideErrorMetadata for UpdateSubscriptionRequestError

Source§

impl ProvideErrorMetadata for UpdateSubscriptionTargetError

Source§

impl ProvideErrorMetadata for UpdateUserProfileError

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 UnauthorizedException

Source§

impl ProvideErrorMetadata for ValidationException

Source§

impl ProvideErrorMetadata for ErrorMetadata