Enum rusoto_codecommit::CreateBranchError [] [src]

pub enum CreateBranchError {
    BranchNameExists(String),
    BranchNameRequired(String),
    CommitDoesNotExist(String),
    CommitIdRequired(String),
    EncryptionIntegrityChecksFailed(String),
    EncryptionKeyAccessDenied(String),
    EncryptionKeyDisabled(String),
    EncryptionKeyNotFound(String),
    EncryptionKeyUnavailable(String),
    InvalidBranchName(String),
    InvalidCommitId(String),
    InvalidRepositoryName(String),
    RepositoryDoesNotExist(String),
    RepositoryNameRequired(String),
    HttpDispatch(HttpDispatchError),
    Credentials(CredentialsError),
    Validation(String),
    Unknown(String),
}

Errors returned by CreateBranch

Variants

The specified branch name already exists.

A branch name is required but was not specified.

The specified commit does not exist or no commit was specified, and the specified repository has no default branch.

A commit ID was not specified.

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 branch name is not valid.

The specified commit ID 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 CreateBranchError
[src]

Trait Implementations

impl Debug for CreateBranchError
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for CreateBranchError
[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 CreateBranchError
[src]

[src]

Performs the conversion.

impl From<CredentialsError> for CreateBranchError
[src]

[src]

Performs the conversion.

impl From<HttpDispatchError> for CreateBranchError
[src]

[src]

Performs the conversion.

impl From<Error> for CreateBranchError
[src]

[src]

Performs the conversion.

impl Display for CreateBranchError
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for CreateBranchError
[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