Enum rusoto_codecommit::DeleteBranchError [] [src]

pub enum DeleteBranchError {
    BranchNameRequired(String),
    DefaultBranchCannotBeDeleted(String),
    EncryptionIntegrityChecksFailed(String),
    EncryptionKeyAccessDenied(String),
    EncryptionKeyDisabled(String),
    EncryptionKeyNotFound(String),
    EncryptionKeyUnavailable(String),
    InvalidBranchName(String),
    InvalidRepositoryName(String),
    RepositoryDoesNotExist(String),
    RepositoryNameRequired(String),
    HttpDispatch(HttpDispatchError),
    Credentials(CredentialsError),
    Validation(String),
    Unknown(String),
}

Errors returned by DeleteBranch

Variants

A branch name is required but was not specified.

The specified branch is the default branch for the repository, and cannot be deleted. To delete this branch, you must first set another branch as the default branch.

An encryption integrity check failed.

An encryption key could not be accessed.

The encryption key is disabled.

No encryption key was found.

The encryption key is not available.

The specified reference name is not valid.

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.

The specified repository does not exist.

A repository name is required but was not specified.

An error occurred dispatching the HTTP request

An error was encountered with AWS credentials.

A validation error occurred. Details from AWS are provided.

An unknown error occurred. The raw HTTP response is provided.

Methods

impl DeleteBranchError
[src]

Trait Implementations

impl Debug for DeleteBranchError
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for DeleteBranchError
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl From<Error> for DeleteBranchError
[src]

[src]

Performs the conversion.

impl From<CredentialsError> for DeleteBranchError
[src]

[src]

Performs the conversion.

impl From<HttpDispatchError> for DeleteBranchError
[src]

[src]

Performs the conversion.

impl From<Error> for DeleteBranchError
[src]

[src]

Performs the conversion.

impl Display for DeleteBranchError
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for DeleteBranchError
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more

Auto Trait Implementations