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
DocumentLockedForComments(String)
This exception is thrown when the document is locked for comments and user tries to create or delete a comment on that document.
EntityNotExists(String)
The resource does not exist.
FailedDependency(String)
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.
ProhibitedState(String)
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.
HttpDispatch(HttpDispatchError)
An error occurred dispatching the HTTP request
Credentials(CredentialsError)
An error was encountered with AWS credentials.
Validation(String)
A validation error occurred. Details from AWS are provided.
Unknown(String)
An unknown error occurred. The raw HTTP response is provided.
Methods
impl CreateCommentError
[src]
impl CreateCommentError
pub fn from_body(body: &str) -> CreateCommentError
[src]
pub fn from_body(body: &str) -> CreateCommentError
Trait Implementations
impl Debug for CreateCommentError
[src]
impl Debug for CreateCommentError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for CreateCommentError
[src]
impl PartialEq for CreateCommentError
fn eq(&self, other: &CreateCommentError) -> bool
[src]
fn eq(&self, other: &CreateCommentError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &CreateCommentError) -> bool
[src]
fn ne(&self, other: &CreateCommentError) -> bool
This method tests for !=
.
impl From<Error> for CreateCommentError
[src]
impl From<Error> for CreateCommentError
fn from(err: Error) -> CreateCommentError
[src]
fn from(err: Error) -> CreateCommentError
Performs the conversion.
impl From<CredentialsError> for CreateCommentError
[src]
impl From<CredentialsError> for CreateCommentError
fn from(err: CredentialsError) -> CreateCommentError
[src]
fn from(err: CredentialsError) -> CreateCommentError
Performs the conversion.
impl From<HttpDispatchError> for CreateCommentError
[src]
impl From<HttpDispatchError> for CreateCommentError
fn from(err: HttpDispatchError) -> CreateCommentError
[src]
fn from(err: HttpDispatchError) -> CreateCommentError
Performs the conversion.
impl From<Error> for CreateCommentError
[src]
impl From<Error> for CreateCommentError
fn from(err: Error) -> CreateCommentError
[src]
fn from(err: Error) -> CreateCommentError
Performs the conversion.
impl Display for CreateCommentError
[src]
impl Display for CreateCommentError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for CreateCommentError
[src]
impl Error for CreateCommentError
Auto Trait Implementations
impl Send for CreateCommentError
impl Send for CreateCommentError
impl Sync for CreateCommentError
impl Sync for CreateCommentError