Struct aws_sdk_codecommit::error::PutFileError
source · [−]#[non_exhaustive]pub struct PutFileError {
pub kind: PutFileErrorKind,
/* private fields */
}
Expand description
Error type for the PutFile
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: PutFileErrorKind
Kind of error that occurred.
Implementations
Creates a new PutFileError
.
Creates the PutFileError::Unhandled
variant from any error type.
Creates the PutFileError::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 PutFileErrorKind::BranchDoesNotExistException
.
Returns true
if the error kind is PutFileErrorKind::BranchNameIsTagNameException
.
Returns true
if the error kind is PutFileErrorKind::BranchNameRequiredException
.
Returns true
if the error kind is PutFileErrorKind::CommitMessageLengthExceededException
.
Returns true
if the error kind is PutFileErrorKind::DirectoryNameConflictsWithFileNameException
.
Returns true
if the error kind is PutFileErrorKind::EncryptionIntegrityChecksFailedException
.
Returns true
if the error kind is PutFileErrorKind::EncryptionKeyAccessDeniedException
.
Returns true
if the error kind is PutFileErrorKind::EncryptionKeyDisabledException
.
Returns true
if the error kind is PutFileErrorKind::EncryptionKeyNotFoundException
.
Returns true
if the error kind is PutFileErrorKind::EncryptionKeyUnavailableException
.
Returns true
if the error kind is PutFileErrorKind::FileContentRequiredException
.
Returns true
if the error kind is PutFileErrorKind::FileContentSizeLimitExceededException
.
Returns true
if the error kind is PutFileErrorKind::FileNameConflictsWithDirectoryNameException
.
Returns true
if the error kind is PutFileErrorKind::FilePathConflictsWithSubmodulePathException
.
Returns true
if the error kind is PutFileErrorKind::FolderContentSizeLimitExceededException
.
Returns true
if the error kind is PutFileErrorKind::InvalidBranchNameException
.
Returns true
if the error kind is PutFileErrorKind::InvalidDeletionParameterException
.
Returns true
if the error kind is PutFileErrorKind::InvalidEmailException
.
Returns true
if the error kind is PutFileErrorKind::InvalidFileModeException
.
Returns true
if the error kind is PutFileErrorKind::InvalidParentCommitIdException
.
Returns true
if the error kind is PutFileErrorKind::InvalidPathException
.
Returns true
if the error kind is PutFileErrorKind::InvalidRepositoryNameException
.
Returns true
if the error kind is PutFileErrorKind::NameLengthExceededException
.
Returns true
if the error kind is PutFileErrorKind::ParentCommitDoesNotExistException
.
Returns true
if the error kind is PutFileErrorKind::ParentCommitIdOutdatedException
.
Returns true
if the error kind is PutFileErrorKind::ParentCommitIdRequiredException
.
Returns true
if the error kind is PutFileErrorKind::PathRequiredException
.
Returns true
if the error kind is PutFileErrorKind::RepositoryDoesNotExistException
.
Returns true
if the error kind is PutFileErrorKind::RepositoryNameRequiredException
.
Returns true
if the error kind is PutFileErrorKind::SameFileContentException
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for PutFileError
impl Send for PutFileError
impl Sync for PutFileError
impl Unpin for PutFileError
impl !UnwindSafe for PutFileError
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