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.

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)

Tuple Fields

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)

Tuple Fields

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)

Tuple Fields

The password is invalid.

LimitExceededException(LimitExceededException)

Tuple Fields

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

ProhibitedStateException(ProhibitedStateException)

Tuple Fields

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)

Tuple Fields

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>)

Tuple Fields

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

An unhandled error occurred.

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