pub enum DeleteCommentError {
DocumentLockedForComments(String),
EntityNotExists(String),
FailedDependency(String),
ProhibitedState(String),
ServiceUnavailable(String),
UnauthorizedOperation(String),
UnauthorizedResourceAccess(String),
}
Expand description
Errors returned by DeleteComment
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.
Implementations§
Source§impl DeleteCommentError
impl DeleteCommentError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<DeleteCommentError>
Trait Implementations§
Source§impl Debug for DeleteCommentError
impl Debug for DeleteCommentError
Source§impl Display for DeleteCommentError
impl Display for DeleteCommentError
Source§impl Error for DeleteCommentError
impl Error for DeleteCommentError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for DeleteCommentError
impl PartialEq for DeleteCommentError
impl StructuralPartialEq for DeleteCommentError
Auto Trait Implementations§
impl Freeze for DeleteCommentError
impl RefUnwindSafe for DeleteCommentError
impl Send for DeleteCommentError
impl Sync for DeleteCommentError
impl Unpin for DeleteCommentError
impl UnwindSafe for DeleteCommentError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more