Enum rusoto_workdocs::CreateCommentError [] [src]

pub enum CreateCommentError {
    DocumentLockedForComments(String),
    EntityNotExists(String),
    FailedDependency(String),
    ProhibitedState(String),
    ServiceUnavailable(String),
    UnauthorizedOperation(String),
    UnauthorizedResourceAccess(String),
    HttpDispatch(HttpDispatchError),
    Credentials(CredentialsError),
    Validation(String),
    Unknown(String),
}

Errors returned by CreateComment

Variants

This exception is thrown when the document is locked for comments and user tries to create or delete a comment on that document.

The resource does not exist.

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.

The specified document version is not in the INITIALIZED state.

One or more of the dependencies is unavailable.

The operation is not permitted.

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

An error occurred dispatching the HTTP request

An error was encountered with AWS credentials.

A validation error occurred. Details from AWS are provided.

An unknown error occurred. The raw HTTP response is provided.

Methods

impl CreateCommentError
[src]

Trait Implementations

impl Debug for CreateCommentError
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for CreateCommentError
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl From<Error> for CreateCommentError
[src]

[src]

Performs the conversion.

impl From<CredentialsError> for CreateCommentError
[src]

[src]

Performs the conversion.

impl From<HttpDispatchError> for CreateCommentError
[src]

[src]

Performs the conversion.

impl From<Error> for CreateCommentError
[src]

[src]

Performs the conversion.

impl Display for CreateCommentError
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for CreateCommentError
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

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

Auto Trait Implementations