Enum rusoto_codecommit::PostCommentForComparedCommitError[][src]

pub enum PostCommentForComparedCommitError {
    BeforeCommitIdAndAfterCommitIdAreSame(String),
    ClientRequestTokenRequired(String),
    CommentContentRequired(String),
    CommentContentSizeLimitExceeded(String),
    CommitDoesNotExist(String),
    CommitIdRequired(String),
    EncryptionIntegrityChecksFailed(String),
    EncryptionKeyAccessDenied(String),
    EncryptionKeyDisabled(String),
    EncryptionKeyNotFound(String),
    EncryptionKeyUnavailable(String),
    IdempotencyParameterMismatch(String),
    InvalidClientRequestToken(String),
    InvalidCommitId(String),
    InvalidFileLocation(String),
    InvalidFilePosition(String),
    InvalidPath(String),
    InvalidRelativeFileVersionEnum(String),
    InvalidRepositoryName(String),
    PathDoesNotExist(String),
    PathRequired(String),
    RepositoryDoesNotExist(String),
    RepositoryNameRequired(String),
    HttpDispatch(HttpDispatchError),
    Credentials(CredentialsError),
    Validation(String),
    Unknown(String),
}

Errors returned by PostCommentForComparedCommit

Variants

The before commit ID and the after commit ID are the same, which is not valid. The before commit ID and the after commit ID must be different commit IDs.

A client request token is required. A client request token is an unique, client-generated idempotency token that when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request will return information about the initial request that used that token.

The comment is empty. You must provide some content for a comment. The content cannot be null.

The comment is too large. Comments are limited to 1,000 characters.

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 client request token is not valid. Either the token is not in a valid format, or the token has been used in a previous request and cannot be re-used.

The client request token is not valid.

The specified commit ID is not valid.

The location of the file is not valid. Make sure that you include the extension of the file as well as the file name.

The position is not valid. Make sure that the line number exists in the version of the file you want to comment on.

The specified path is not valid.

Either the enum is not in a valid format, or the specified file version enum is not valid in respect to the current file version.

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 path does not exist.

The filePath for a location cannot be empty or null.

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 PostCommentForComparedCommitError
[src]

Trait Implementations

impl Debug for PostCommentForComparedCommitError
[src]

Formats the value using the given formatter. Read more

impl PartialEq for PostCommentForComparedCommitError
[src]

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

This method tests for !=.

impl From<Error> for PostCommentForComparedCommitError
[src]

Performs the conversion.

impl From<CredentialsError> for PostCommentForComparedCommitError
[src]

Performs the conversion.

impl From<HttpDispatchError> for PostCommentForComparedCommitError
[src]

impl From<Error> for PostCommentForComparedCommitError
[src]

Performs the conversion.

impl Display for PostCommentForComparedCommitError
[src]

Formats the value using the given formatter. Read more

impl Error for PostCommentForComparedCommitError
[src]

This method is soft-deprecated. Read more

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

Auto Trait Implementations