Enum aws_sdk_workdocs::Error[][src]

#[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
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ConcurrentModificationException(ConcurrentModificationException)

The resource hierarchy is changing.

Tuple Fields of ConcurrentModificationException

0: ConcurrentModificationException
ConflictingOperationException(ConflictingOperationException)

Another operation is in progress on the resource that conflicts with the current operation.

Tuple Fields of ConflictingOperationException

0: ConflictingOperationException
CustomMetadataLimitExceededException(CustomMetadataLimitExceededException)

The limit has been reached on the number of custom properties for the specified resource.

Tuple Fields of CustomMetadataLimitExceededException

0: CustomMetadataLimitExceededException
DeactivatingLastSystemUserException(DeactivatingLastSystemUserException)

The last user in the organization is being deactivated.

Tuple Fields of DeactivatingLastSystemUserException

0: DeactivatingLastSystemUserException
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.

Tuple Fields of DocumentLockedForCommentsException

0: DocumentLockedForCommentsException
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.

Tuple Fields of DraftUploadOutOfSyncException

0: DraftUploadOutOfSyncException
EntityAlreadyExistsException(EntityAlreadyExistsException)

The resource already exists.

Tuple Fields of EntityAlreadyExistsException

0: EntityAlreadyExistsException
EntityNotExistsException(EntityNotExistsException)

The resource does not exist.

Tuple Fields of EntityNotExistsException

0: EntityNotExistsException
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.

Tuple Fields of FailedDependencyException

0: FailedDependencyException
IllegalUserStateException(IllegalUserStateException)

The user is undergoing transfer of ownership.

Tuple Fields of IllegalUserStateException

0: IllegalUserStateException
InvalidArgumentException(InvalidArgumentException)

The pagination marker or limit fields are not valid.

Tuple Fields of InvalidArgumentException

0: InvalidArgumentException
InvalidCommentOperationException(InvalidCommentOperationException)

The requested operation is not allowed on the specified comment object.

Tuple Fields of InvalidCommentOperationException

0: InvalidCommentOperationException
InvalidOperationException(InvalidOperationException)

The operation is invalid.

Tuple Fields of InvalidOperationException

0: InvalidOperationException
InvalidPasswordException(InvalidPasswordException)

The password is invalid.

Tuple Fields of InvalidPasswordException

0: InvalidPasswordException
LimitExceededException(LimitExceededException)

The maximum of 100,000 folders under the parent folder has been exceeded.

Tuple Fields of LimitExceededException

0: LimitExceededException
ProhibitedStateException(ProhibitedStateException)

The specified document version is not in the INITIALIZED state.

Tuple Fields of ProhibitedStateException

0: ProhibitedStateException
RequestedEntityTooLargeException(RequestedEntityTooLargeException)

The response is too large to return. The request must include a filter to reduce the size of the response.

Tuple Fields of RequestedEntityTooLargeException

0: RequestedEntityTooLargeException
ResourceAlreadyCheckedOutException(ResourceAlreadyCheckedOutException)

The resource is already checked out.

Tuple Fields of ResourceAlreadyCheckedOutException

0: ResourceAlreadyCheckedOutException
ServiceUnavailableException(ServiceUnavailableException)

One or more of the dependencies is unavailable.

Tuple Fields of ServiceUnavailableException

0: ServiceUnavailableException
StorageLimitExceededException(StorageLimitExceededException)

The storage limit has been exceeded.

Tuple Fields of StorageLimitExceededException

0: StorageLimitExceededException
StorageLimitWillExceedException(StorageLimitWillExceedException)

The storage limit will be exceeded.

Tuple Fields of StorageLimitWillExceedException

0: StorageLimitWillExceedException
TooManyLabelsException(TooManyLabelsException)

The limit has been reached on the number of labels for the specified resource.

Tuple Fields of TooManyLabelsException

0: TooManyLabelsException
TooManySubscriptionsException(TooManySubscriptionsException)

You've reached the limit on the number of subscriptions for the WorkDocs instance.

Tuple Fields of TooManySubscriptionsException

0: TooManySubscriptionsException
UnauthorizedOperationException(UnauthorizedOperationException)

The operation is not permitted.

Tuple Fields of UnauthorizedOperationException

0: UnauthorizedOperationException
UnauthorizedResourceAccessException(UnauthorizedResourceAccessException)

The caller does not have access to perform the action on the resource.

Tuple Fields of UnauthorizedResourceAccessException

0: UnauthorizedResourceAccessException
Unhandled(Box<dyn Error + Send + Sync + 'static>)

An unhandled error occurred.

Tuple Fields of Unhandled

0: Box<dyn Error + Send + Sync + 'static>

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

The lower-level source of this error, if any. Read more

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more