Enum rusoto_codecommit::GetCommentError [−][src]
pub enum GetCommentError { CommentDeleted(String), CommentDoesNotExist(String), CommentIdRequired(String), InvalidCommentId(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by GetComment
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 provided 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.
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 GetCommentError
[src]
impl GetCommentError
pub fn from_body(body: &str) -> GetCommentError
[src]
pub fn from_body(body: &str) -> GetCommentError
Trait Implementations
impl Debug for GetCommentError
[src]
impl Debug for GetCommentError
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 GetCommentError
[src]
impl PartialEq for GetCommentError
fn eq(&self, other: &GetCommentError) -> bool
[src]
fn eq(&self, other: &GetCommentError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &GetCommentError) -> bool
[src]
fn ne(&self, other: &GetCommentError) -> bool
This method tests for !=
.
impl From<Error> for GetCommentError
[src]
impl From<Error> for GetCommentError
fn from(err: Error) -> GetCommentError
[src]
fn from(err: Error) -> GetCommentError
Performs the conversion.
impl From<CredentialsError> for GetCommentError
[src]
impl From<CredentialsError> for GetCommentError
fn from(err: CredentialsError) -> GetCommentError
[src]
fn from(err: CredentialsError) -> GetCommentError
Performs the conversion.
impl From<HttpDispatchError> for GetCommentError
[src]
impl From<HttpDispatchError> for GetCommentError
fn from(err: HttpDispatchError) -> GetCommentError
[src]
fn from(err: HttpDispatchError) -> GetCommentError
Performs the conversion.
impl From<Error> for GetCommentError
[src]
impl From<Error> for GetCommentError
fn from(err: Error) -> GetCommentError
[src]
fn from(err: Error) -> GetCommentError
Performs the conversion.
impl Display for GetCommentError
[src]
impl Display for GetCommentError
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 GetCommentError
[src]
impl Error for GetCommentError
Auto Trait Implementations
impl Send for GetCommentError
impl Send for GetCommentError
impl Sync for GetCommentError
impl Sync for GetCommentError