pub enum PutCommentReactionError {
CommentDeleted(String),
CommentDoesNotExist(String),
CommentIdRequired(String),
InvalidCommentId(String),
InvalidReactionValue(String),
ReactionLimitExceeded(String),
ReactionValueRequired(String),
}Expand description
Errors returned by PutCommentReaction
Variants§
CommentDeleted(String)
This comment has already been deleted. You cannot edit or delete a deleted comment.
CommentDoesNotExist(String)
No comment exists with the provided ID. Verify that you have used the correct ID, and then try again.
CommentIdRequired(String)
The comment ID is missing or null. A comment ID is required.
InvalidCommentId(String)
The comment ID is not in a valid format. Make sure that you have provided the full comment ID.
InvalidReactionValue(String)
The value of the reaction is not valid. For more information, see the AWS CodeCommit User Guide.
ReactionLimitExceeded(String)
The number of reactions has been exceeded. Reactions are limited to one reaction per user for each individual comment ID.
ReactionValueRequired(String)
A reaction value is required.
Implementations§
Source§impl PutCommentReactionError
impl PutCommentReactionError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<PutCommentReactionError>
Trait Implementations§
Source§impl Debug for PutCommentReactionError
impl Debug for PutCommentReactionError
Source§impl Display for PutCommentReactionError
impl Display for PutCommentReactionError
Source§impl Error for PutCommentReactionError
impl Error for PutCommentReactionError
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 PutCommentReactionError
impl PartialEq for PutCommentReactionError
impl StructuralPartialEq for PutCommentReactionError
Auto Trait Implementations§
impl Freeze for PutCommentReactionError
impl RefUnwindSafe for PutCommentReactionError
impl Send for PutCommentReactionError
impl Sync for PutCommentReactionError
impl Unpin for PutCommentReactionError
impl UnwindSafe for PutCommentReactionError
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