Enum rusoto_codecommit::UpdatePullRequestTitleError [−][src]
pub enum UpdatePullRequestTitleError { InvalidPullRequestId(String), InvalidTitle(String), PullRequestAlreadyClosed(String), PullRequestDoesNotExist(String), PullRequestIdRequired(String), TitleRequired(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by UpdatePullRequestTitle
Variants
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.
InvalidTitle(String)
The title of the pull request is not valid. Pull request titles cannot exceed 100 characters in length.
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.
TitleRequired(String)
A pull request title is required. It cannot be empty or null.
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 UpdatePullRequestTitleError
[src]
impl UpdatePullRequestTitleError
pub fn from_body(body: &str) -> UpdatePullRequestTitleError
[src]
pub fn from_body(body: &str) -> UpdatePullRequestTitleError
Trait Implementations
impl Debug for UpdatePullRequestTitleError
[src]
impl Debug for UpdatePullRequestTitleError
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 UpdatePullRequestTitleError
[src]
impl PartialEq for UpdatePullRequestTitleError
fn eq(&self, other: &UpdatePullRequestTitleError) -> bool
[src]
fn eq(&self, other: &UpdatePullRequestTitleError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &UpdatePullRequestTitleError) -> bool
[src]
fn ne(&self, other: &UpdatePullRequestTitleError) -> bool
This method tests for !=
.
impl From<Error> for UpdatePullRequestTitleError
[src]
impl From<Error> for UpdatePullRequestTitleError
fn from(err: Error) -> UpdatePullRequestTitleError
[src]
fn from(err: Error) -> UpdatePullRequestTitleError
Performs the conversion.
impl From<CredentialsError> for UpdatePullRequestTitleError
[src]
impl From<CredentialsError> for UpdatePullRequestTitleError
fn from(err: CredentialsError) -> UpdatePullRequestTitleError
[src]
fn from(err: CredentialsError) -> UpdatePullRequestTitleError
Performs the conversion.
impl From<HttpDispatchError> for UpdatePullRequestTitleError
[src]
impl From<HttpDispatchError> for UpdatePullRequestTitleError
fn from(err: HttpDispatchError) -> UpdatePullRequestTitleError
[src]
fn from(err: HttpDispatchError) -> UpdatePullRequestTitleError
Performs the conversion.
impl From<Error> for UpdatePullRequestTitleError
[src]
impl From<Error> for UpdatePullRequestTitleError
fn from(err: Error) -> UpdatePullRequestTitleError
[src]
fn from(err: Error) -> UpdatePullRequestTitleError
Performs the conversion.
impl Display for UpdatePullRequestTitleError
[src]
impl Display for UpdatePullRequestTitleError
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 UpdatePullRequestTitleError
[src]
impl Error for UpdatePullRequestTitleError
Auto Trait Implementations
impl Send for UpdatePullRequestTitleError
impl Send for UpdatePullRequestTitleError
impl Sync for UpdatePullRequestTitleError
impl Sync for UpdatePullRequestTitleError