Enum rusoto_codecommit::GetCommitError
[−]
[src]
pub enum GetCommitError { CommitIdDoesNotExist(String), CommitIdRequired(String), EncryptionIntegrityChecksFailed(String), EncryptionKeyAccessDenied(String), EncryptionKeyDisabled(String), EncryptionKeyNotFound(String), EncryptionKeyUnavailable(String), InvalidCommitId(String), InvalidRepositoryName(String), RepositoryDoesNotExist(String), RepositoryNameRequired(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by GetCommit
Variants
CommitIdDoesNotExist(String)
The specified commit ID does not exist.
CommitIdRequired(String)
A commit ID was not specified.
EncryptionIntegrityChecksFailed(String)
An encryption integrity check failed.
EncryptionKeyAccessDenied(String)
An encryption key could not be accessed.
EncryptionKeyDisabled(String)
The encryption key is disabled.
EncryptionKeyNotFound(String)
No encryption key was found.
The encryption key is not available.
InvalidCommitId(String)
The specified commit ID is not valid.
InvalidRepositoryName(String)
At least one specified repository name is not valid.
This exception only occurs when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
RepositoryDoesNotExist(String)
The specified repository does not exist.
RepositoryNameRequired(String)
A repository name is required but was not specified.
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 GetCommitError
[src]
pub fn from_body(body: &str) -> GetCommitError
[src]
Trait Implementations
impl Debug for GetCommitError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for GetCommitError
[src]
fn eq(&self, __arg_0: &GetCommitError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GetCommitError) -> bool
[src]
This method tests for !=
.
impl From<Error> for GetCommitError
[src]
fn from(err: Error) -> GetCommitError
[src]
Performs the conversion.
impl From<CredentialsError> for GetCommitError
[src]
fn from(err: CredentialsError) -> GetCommitError
[src]
Performs the conversion.
impl From<HttpDispatchError> for GetCommitError
[src]
fn from(err: HttpDispatchError) -> GetCommitError
[src]
Performs the conversion.
impl From<Error> for GetCommitError
[src]
fn from(err: Error) -> GetCommitError
[src]
Performs the conversion.
impl Display for GetCommitError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more