Struct aws_sdk_codecommit::error::CreateCommitError
source · [−]#[non_exhaustive]pub struct CreateCommitError {
pub kind: CreateCommitErrorKind,
/* private fields */
}
Expand description
Error type for the CreateCommit
operation.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.kind: CreateCommitErrorKind
Kind of error that occurred.
Implementations
Creates a new CreateCommitError
.
Creates the CreateCommitError::Unhandled
variant from any error type.
Creates the CreateCommitError::Unhandled
variant from a aws_smithy_types::Error
.
Returns error metadata, which includes the error code, message, request ID, and potentially additional information.
Returns the request ID if it’s available.
Returns true
if the error kind is CreateCommitErrorKind::BranchDoesNotExistException
.
Returns true
if the error kind is CreateCommitErrorKind::BranchNameIsTagNameException
.
Returns true
if the error kind is CreateCommitErrorKind::BranchNameRequiredException
.
Returns true
if the error kind is CreateCommitErrorKind::CommitMessageLengthExceededException
.
Returns true
if the error kind is CreateCommitErrorKind::DirectoryNameConflictsWithFileNameException
.
Returns true
if the error kind is CreateCommitErrorKind::EncryptionIntegrityChecksFailedException
.
Returns true
if the error kind is CreateCommitErrorKind::EncryptionKeyAccessDeniedException
.
Returns true
if the error kind is CreateCommitErrorKind::EncryptionKeyDisabledException
.
Returns true
if the error kind is CreateCommitErrorKind::EncryptionKeyNotFoundException
.
Returns true
if the error kind is CreateCommitErrorKind::EncryptionKeyUnavailableException
.
Returns true
if the error kind is CreateCommitErrorKind::FileContentAndSourceFileSpecifiedException
.
Returns true
if the error kind is CreateCommitErrorKind::FileContentSizeLimitExceededException
.
Returns true
if the error kind is CreateCommitErrorKind::FileDoesNotExistException
.
Returns true
if the error kind is CreateCommitErrorKind::FileEntryRequiredException
.
Returns true
if the error kind is CreateCommitErrorKind::FileModeRequiredException
.
Returns true
if the error kind is CreateCommitErrorKind::FileNameConflictsWithDirectoryNameException
.
Returns true
if the error kind is CreateCommitErrorKind::FilePathConflictsWithSubmodulePathException
.
Returns true
if the error kind is CreateCommitErrorKind::FolderContentSizeLimitExceededException
.
Returns true
if the error kind is CreateCommitErrorKind::InvalidBranchNameException
.
Returns true
if the error kind is CreateCommitErrorKind::InvalidDeletionParameterException
.
Returns true
if the error kind is CreateCommitErrorKind::InvalidEmailException
.
Returns true
if the error kind is CreateCommitErrorKind::InvalidFileModeException
.
Returns true
if the error kind is CreateCommitErrorKind::InvalidParentCommitIdException
.
Returns true
if the error kind is CreateCommitErrorKind::InvalidPathException
.
Returns true
if the error kind is CreateCommitErrorKind::InvalidRepositoryNameException
.
Returns true
if the error kind is CreateCommitErrorKind::MaximumFileEntriesExceededException
.
Returns true
if the error kind is CreateCommitErrorKind::NameLengthExceededException
.
Returns true
if the error kind is CreateCommitErrorKind::NoChangeException
.
Returns true
if the error kind is CreateCommitErrorKind::ParentCommitDoesNotExistException
.
Returns true
if the error kind is CreateCommitErrorKind::ParentCommitIdOutdatedException
.
Returns true
if the error kind is CreateCommitErrorKind::ParentCommitIdRequiredException
.
Returns true
if the error kind is CreateCommitErrorKind::PathRequiredException
.
Returns true
if the error kind is CreateCommitErrorKind::PutFileEntryConflictException
.
Returns true
if the error kind is CreateCommitErrorKind::RepositoryDoesNotExistException
.
Returns true
if the error kind is CreateCommitErrorKind::RepositoryNameRequiredException
.
Returns true
if the error kind is CreateCommitErrorKind::RestrictedSourceFileException
.
Returns true
if the error kind is CreateCommitErrorKind::SamePathRequestException
.
Returns true
if the error kind is CreateCommitErrorKind::SourceFileOrContentRequiredException
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for CreateCommitError
impl Send for CreateCommitError
impl Sync for CreateCommitError
impl Unpin for CreateCommitError
impl !UnwindSafe for CreateCommitError
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more