Enum rusoto_codecommit::UpdatePullRequestDescriptionError [−][src]
pub enum UpdatePullRequestDescriptionError { InvalidDescription(String), InvalidPullRequestId(String), PullRequestAlreadyClosed(String), PullRequestDoesNotExist(String), PullRequestIdRequired(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by UpdatePullRequestDescription
Variants
InvalidDescription(String)
The pull request description is not valid. Descriptions are limited to 1,000 characters in length.
InvalidPullRequestId(String)
The pull request ID is not valid. Make sure that you have provided the full ID and that the pull request is in the specified repository, and then try again.
PullRequestAlreadyClosed(String)
The pull request status cannot be updated because it is already closed.
PullRequestDoesNotExist(String)
The pull request ID could not be found. Make sure that you have specified the correct repository name and pull request ID, and then try again.
PullRequestIdRequired(String)
A pull request ID is required, but none was provided.
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 UpdatePullRequestDescriptionError
[src]
impl UpdatePullRequestDescriptionError
pub fn from_body(body: &str) -> UpdatePullRequestDescriptionError
[src]
pub fn from_body(body: &str) -> UpdatePullRequestDescriptionError
Trait Implementations
impl Debug for UpdatePullRequestDescriptionError
[src]
impl Debug for UpdatePullRequestDescriptionError
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 UpdatePullRequestDescriptionError
[src]
impl PartialEq for UpdatePullRequestDescriptionError
fn eq(&self, other: &UpdatePullRequestDescriptionError) -> bool
[src]
fn eq(&self, other: &UpdatePullRequestDescriptionError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &UpdatePullRequestDescriptionError) -> bool
[src]
fn ne(&self, other: &UpdatePullRequestDescriptionError) -> bool
This method tests for !=
.
impl From<Error> for UpdatePullRequestDescriptionError
[src]
impl From<Error> for UpdatePullRequestDescriptionError
fn from(err: Error) -> UpdatePullRequestDescriptionError
[src]
fn from(err: Error) -> UpdatePullRequestDescriptionError
Performs the conversion.
impl From<CredentialsError> for UpdatePullRequestDescriptionError
[src]
impl From<CredentialsError> for UpdatePullRequestDescriptionError
fn from(err: CredentialsError) -> UpdatePullRequestDescriptionError
[src]
fn from(err: CredentialsError) -> UpdatePullRequestDescriptionError
Performs the conversion.
impl From<HttpDispatchError> for UpdatePullRequestDescriptionError
[src]
impl From<HttpDispatchError> for UpdatePullRequestDescriptionError
fn from(err: HttpDispatchError) -> UpdatePullRequestDescriptionError
[src]
fn from(err: HttpDispatchError) -> UpdatePullRequestDescriptionError
Performs the conversion.
impl From<Error> for UpdatePullRequestDescriptionError
[src]
impl From<Error> for UpdatePullRequestDescriptionError
fn from(err: Error) -> UpdatePullRequestDescriptionError
[src]
fn from(err: Error) -> UpdatePullRequestDescriptionError
Performs the conversion.
impl Display for UpdatePullRequestDescriptionError
[src]
impl Display for UpdatePullRequestDescriptionError
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 UpdatePullRequestDescriptionError
[src]
impl Error for UpdatePullRequestDescriptionError
Auto Trait Implementations
impl Send for UpdatePullRequestDescriptionError
impl Send for UpdatePullRequestDescriptionError
impl Sync for UpdatePullRequestDescriptionError
impl Sync for UpdatePullRequestDescriptionError