aws_sdk_workdocs::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 AbortDocumentVersionUploadError

Source§

impl ProvideErrorMetadata for ActivateUserError

Source§

impl ProvideErrorMetadata for AddResourcePermissionsError

Source§

impl ProvideErrorMetadata for CreateCommentError

Source§

impl ProvideErrorMetadata for CreateCustomMetadataError

Source§

impl ProvideErrorMetadata for CreateFolderError

Source§

impl ProvideErrorMetadata for CreateLabelsError

Source§

impl ProvideErrorMetadata for CreateNotificationSubscriptionError

Source§

impl ProvideErrorMetadata for CreateUserError

Source§

impl ProvideErrorMetadata for DeactivateUserError

Source§

impl ProvideErrorMetadata for DeleteCommentError

Source§

impl ProvideErrorMetadata for DeleteCustomMetadataError

Source§

impl ProvideErrorMetadata for DeleteDocumentError

Source§

impl ProvideErrorMetadata for DeleteDocumentVersionError

Source§

impl ProvideErrorMetadata for DeleteFolderError

Source§

impl ProvideErrorMetadata for DeleteFolderContentsError

Source§

impl ProvideErrorMetadata for DeleteLabelsError

Source§

impl ProvideErrorMetadata for DeleteNotificationSubscriptionError

Source§

impl ProvideErrorMetadata for DeleteUserError

Source§

impl ProvideErrorMetadata for DescribeActivitiesError

Source§

impl ProvideErrorMetadata for DescribeCommentsError

Source§

impl ProvideErrorMetadata for DescribeDocumentVersionsError

Source§

impl ProvideErrorMetadata for DescribeFolderContentsError

Source§

impl ProvideErrorMetadata for DescribeGroupsError

Source§

impl ProvideErrorMetadata for DescribeNotificationSubscriptionsError

Source§

impl ProvideErrorMetadata for DescribeResourcePermissionsError

Source§

impl ProvideErrorMetadata for DescribeRootFoldersError

Source§

impl ProvideErrorMetadata for DescribeUsersError

Source§

impl ProvideErrorMetadata for GetCurrentUserError

Source§

impl ProvideErrorMetadata for GetDocumentError

Source§

impl ProvideErrorMetadata for GetDocumentPathError

Source§

impl ProvideErrorMetadata for GetDocumentVersionError

Source§

impl ProvideErrorMetadata for GetFolderError

Source§

impl ProvideErrorMetadata for GetFolderPathError

Source§

impl ProvideErrorMetadata for GetResourcesError

Source§

impl ProvideErrorMetadata for InitiateDocumentVersionUploadError

Source§

impl ProvideErrorMetadata for RemoveAllResourcePermissionsError

Source§

impl ProvideErrorMetadata for RemoveResourcePermissionError

Source§

impl ProvideErrorMetadata for RestoreDocumentVersionsError

Source§

impl ProvideErrorMetadata for SearchResourcesError

Source§

impl ProvideErrorMetadata for UpdateDocumentError

Source§

impl ProvideErrorMetadata for UpdateDocumentVersionError

Source§

impl ProvideErrorMetadata for UpdateFolderError

Source§

impl ProvideErrorMetadata for UpdateUserError

Source§

impl ProvideErrorMetadata for ConcurrentModificationException

Source§

impl ProvideErrorMetadata for ConflictingOperationException

Source§

impl ProvideErrorMetadata for CustomMetadataLimitExceededException

Source§

impl ProvideErrorMetadata for DeactivatingLastSystemUserException

Source§

impl ProvideErrorMetadata for DocumentLockedForCommentsException

Source§

impl ProvideErrorMetadata for DraftUploadOutOfSyncException

Source§

impl ProvideErrorMetadata for EntityAlreadyExistsException

Source§

impl ProvideErrorMetadata for EntityNotExistsException

Source§

impl ProvideErrorMetadata for FailedDependencyException

Source§

impl ProvideErrorMetadata for IllegalUserStateException

Source§

impl ProvideErrorMetadata for InvalidArgumentException

Source§

impl ProvideErrorMetadata for InvalidCommentOperationException

Source§

impl ProvideErrorMetadata for InvalidOperationException

Source§

impl ProvideErrorMetadata for InvalidPasswordException

Source§

impl ProvideErrorMetadata for LimitExceededException

Source§

impl ProvideErrorMetadata for ProhibitedStateException

Source§

impl ProvideErrorMetadata for RequestedEntityTooLargeException

Source§

impl ProvideErrorMetadata for ResourceAlreadyCheckedOutException

Source§

impl ProvideErrorMetadata for ServiceUnavailableException

Source§

impl ProvideErrorMetadata for StorageLimitExceededException

Source§

impl ProvideErrorMetadata for StorageLimitWillExceedException

Source§

impl ProvideErrorMetadata for TooManyLabelsException

Source§

impl ProvideErrorMetadata for TooManySubscriptionsException

Source§

impl ProvideErrorMetadata for UnauthorizedOperationException

Source§

impl ProvideErrorMetadata for UnauthorizedResourceAccessException

Source§

impl ProvideErrorMetadata for ErrorMetadata