Enum aws_sdk_workdocs::Error
source · [−]#[non_exhaustive]
pub enum Error {
Show 26 variants
ConcurrentModificationException(ConcurrentModificationException),
ConflictingOperationException(ConflictingOperationException),
CustomMetadataLimitExceededException(CustomMetadataLimitExceededException),
DeactivatingLastSystemUserException(DeactivatingLastSystemUserException),
DocumentLockedForCommentsException(DocumentLockedForCommentsException),
DraftUploadOutOfSyncException(DraftUploadOutOfSyncException),
EntityAlreadyExistsException(EntityAlreadyExistsException),
EntityNotExistsException(EntityNotExistsException),
FailedDependencyException(FailedDependencyException),
IllegalUserStateException(IllegalUserStateException),
InvalidArgumentException(InvalidArgumentException),
InvalidCommentOperationException(InvalidCommentOperationException),
InvalidOperationException(InvalidOperationException),
InvalidPasswordException(InvalidPasswordException),
LimitExceededException(LimitExceededException),
ProhibitedStateException(ProhibitedStateException),
RequestedEntityTooLargeException(RequestedEntityTooLargeException),
ResourceAlreadyCheckedOutException(ResourceAlreadyCheckedOutException),
ServiceUnavailableException(ServiceUnavailableException),
StorageLimitExceededException(StorageLimitExceededException),
StorageLimitWillExceedException(StorageLimitWillExceedException),
TooManyLabelsException(TooManyLabelsException),
TooManySubscriptionsException(TooManySubscriptionsException),
UnauthorizedOperationException(UnauthorizedOperationException),
UnauthorizedResourceAccessException(UnauthorizedResourceAccessException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
ConcurrentModificationException(ConcurrentModificationException)
The resource hierarchy is changing.
ConflictingOperationException(ConflictingOperationException)
Another operation is in progress on the resource that conflicts with the current operation.
CustomMetadataLimitExceededException(CustomMetadataLimitExceededException)
The limit has been reached on the number of custom properties for the specified resource.
DeactivatingLastSystemUserException(DeactivatingLastSystemUserException)
The last user in the organization is being deactivated.
DocumentLockedForCommentsException(DocumentLockedForCommentsException)
This exception is thrown when the document is locked for comments and user tries to create or delete a comment on that document.
DraftUploadOutOfSyncException(DraftUploadOutOfSyncException)
This exception is thrown when a valid checkout ID is not presented on document version upload calls for a document that has been checked out from Web client.
EntityAlreadyExistsException(EntityAlreadyExistsException)
The resource already exists.
EntityNotExistsException(EntityNotExistsException)
The resource does not exist.
FailedDependencyException(FailedDependencyException)
The AWS Directory Service cannot reach an on-premises instance. Or a dependency under the control of the organization is failing, such as a connected Active Directory.
IllegalUserStateException(IllegalUserStateException)
The user is undergoing transfer of ownership.
InvalidArgumentException(InvalidArgumentException)
The pagination marker or limit fields are not valid.
InvalidCommentOperationException(InvalidCommentOperationException)
The requested operation is not allowed on the specified comment object.
InvalidOperationException(InvalidOperationException)
The operation is invalid.
InvalidPasswordException(InvalidPasswordException)
The password is invalid.
LimitExceededException(LimitExceededException)
The maximum of 100,000 folders under the parent folder has been exceeded.
ProhibitedStateException(ProhibitedStateException)
The specified document version is not in the INITIALIZED state.
RequestedEntityTooLargeException(RequestedEntityTooLargeException)
The response is too large to return. The request must include a filter to reduce the size of the response.
ResourceAlreadyCheckedOutException(ResourceAlreadyCheckedOutException)
The resource is already checked out.
ServiceUnavailableException(ServiceUnavailableException)
One or more of the dependencies is unavailable.
StorageLimitExceededException(StorageLimitExceededException)
The storage limit has been exceeded.
StorageLimitWillExceedException(StorageLimitWillExceedException)
The storage limit will be exceeded.
TooManyLabelsException(TooManyLabelsException)
The limit has been reached on the number of labels for the specified resource.
TooManySubscriptionsException(TooManySubscriptionsException)
You've reached the limit on the number of subscriptions for the WorkDocs instance.
UnauthorizedOperationException(UnauthorizedOperationException)
The operation is not permitted.
UnauthorizedResourceAccessException(UnauthorizedResourceAccessException)
The caller does not have access to perform the action on the resource.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unhandled error occurred.
Trait Implementations
sourceimpl Error for Error
impl Error for Error
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl<R> From<SdkError<AbortDocumentVersionUploadError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<AbortDocumentVersionUploadError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<AbortDocumentVersionUploadError, R>) -> Self
fn from(err: SdkError<AbortDocumentVersionUploadError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ActivateUserError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ActivateUserError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ActivateUserError, R>) -> Self
fn from(err: SdkError<ActivateUserError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<AddResourcePermissionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<AddResourcePermissionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<AddResourcePermissionsError, R>) -> Self
fn from(err: SdkError<AddResourcePermissionsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateCommentError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateCommentError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateCommentError, R>) -> Self
fn from(err: SdkError<CreateCommentError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateCustomMetadataError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateCustomMetadataError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateCustomMetadataError, R>) -> Self
fn from(err: SdkError<CreateCustomMetadataError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateFolderError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateFolderError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateFolderError, R>) -> Self
fn from(err: SdkError<CreateFolderError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateLabelsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateLabelsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateLabelsError, R>) -> Self
fn from(err: SdkError<CreateLabelsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateNotificationSubscriptionError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateNotificationSubscriptionError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateNotificationSubscriptionError, R>) -> Self
fn from(err: SdkError<CreateNotificationSubscriptionError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateUserError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateUserError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateUserError, R>) -> Self
fn from(err: SdkError<CreateUserError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeactivateUserError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeactivateUserError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeactivateUserError, R>) -> Self
fn from(err: SdkError<DeactivateUserError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteCommentError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteCommentError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteCommentError, R>) -> Self
fn from(err: SdkError<DeleteCommentError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteCustomMetadataError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteCustomMetadataError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteCustomMetadataError, R>) -> Self
fn from(err: SdkError<DeleteCustomMetadataError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteDocumentError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteDocumentError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteDocumentError, R>) -> Self
fn from(err: SdkError<DeleteDocumentError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteFolderContentsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteFolderContentsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteFolderContentsError, R>) -> Self
fn from(err: SdkError<DeleteFolderContentsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteFolderError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteFolderError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteFolderError, R>) -> Self
fn from(err: SdkError<DeleteFolderError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteLabelsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteLabelsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteLabelsError, R>) -> Self
fn from(err: SdkError<DeleteLabelsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteNotificationSubscriptionError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteNotificationSubscriptionError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteNotificationSubscriptionError, R>) -> Self
fn from(err: SdkError<DeleteNotificationSubscriptionError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteUserError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteUserError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteUserError, R>) -> Self
fn from(err: SdkError<DeleteUserError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeActivitiesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeActivitiesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeActivitiesError, R>) -> Self
fn from(err: SdkError<DescribeActivitiesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeCommentsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeCommentsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeCommentsError, R>) -> Self
fn from(err: SdkError<DescribeCommentsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeDocumentVersionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeDocumentVersionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeDocumentVersionsError, R>) -> Self
fn from(err: SdkError<DescribeDocumentVersionsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeFolderContentsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeFolderContentsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeFolderContentsError, R>) -> Self
fn from(err: SdkError<DescribeFolderContentsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeGroupsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeGroupsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeGroupsError, R>) -> Self
fn from(err: SdkError<DescribeGroupsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeNotificationSubscriptionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeNotificationSubscriptionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeNotificationSubscriptionsError, R>) -> Self
fn from(err: SdkError<DescribeNotificationSubscriptionsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeResourcePermissionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeResourcePermissionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeResourcePermissionsError, R>) -> Self
fn from(err: SdkError<DescribeResourcePermissionsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeRootFoldersError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeRootFoldersError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeRootFoldersError, R>) -> Self
fn from(err: SdkError<DescribeRootFoldersError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeUsersError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeUsersError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeUsersError, R>) -> Self
fn from(err: SdkError<DescribeUsersError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetCurrentUserError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetCurrentUserError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetCurrentUserError, R>) -> Self
fn from(err: SdkError<GetCurrentUserError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetDocumentError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetDocumentError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetDocumentError, R>) -> Self
fn from(err: SdkError<GetDocumentError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetDocumentPathError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetDocumentPathError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetDocumentPathError, R>) -> Self
fn from(err: SdkError<GetDocumentPathError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetDocumentVersionError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetDocumentVersionError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetDocumentVersionError, R>) -> Self
fn from(err: SdkError<GetDocumentVersionError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetFolderError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetFolderError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetFolderError, R>) -> Self
fn from(err: SdkError<GetFolderError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetFolderPathError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetFolderPathError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetFolderPathError, R>) -> Self
fn from(err: SdkError<GetFolderPathError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetResourcesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetResourcesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetResourcesError, R>) -> Self
fn from(err: SdkError<GetResourcesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<InitiateDocumentVersionUploadError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<InitiateDocumentVersionUploadError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<InitiateDocumentVersionUploadError, R>) -> Self
fn from(err: SdkError<InitiateDocumentVersionUploadError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<RemoveAllResourcePermissionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<RemoveAllResourcePermissionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<RemoveAllResourcePermissionsError, R>) -> Self
fn from(err: SdkError<RemoveAllResourcePermissionsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<RemoveResourcePermissionError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<RemoveResourcePermissionError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<RemoveResourcePermissionError, R>) -> Self
fn from(err: SdkError<RemoveResourcePermissionError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<UpdateDocumentError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateDocumentError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UpdateDocumentError, R>) -> Self
fn from(err: SdkError<UpdateDocumentError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<UpdateDocumentVersionError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateDocumentVersionError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UpdateDocumentVersionError, R>) -> Self
fn from(err: SdkError<UpdateDocumentVersionError, R>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more