Struct aws_sdk_codecommit::error::DeleteFileError [−][src]
#[non_exhaustive]pub struct DeleteFileError {
pub kind: DeleteFileErrorKind,
// some fields omitted
}Expand description
Error type for the DeleteFile 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: DeleteFileErrorKindKind of error that occurred.
Implementations
Creates a new DeleteFileError.
Creates the DeleteFileError::Unhandled variant from any error type.
Creates the DeleteFileError::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 DeleteFileErrorKind::BranchDoesNotExistException.
Returns true if the error kind is DeleteFileErrorKind::BranchNameIsTagNameException.
Returns true if the error kind is DeleteFileErrorKind::BranchNameRequiredException.
Returns true if the error kind is DeleteFileErrorKind::CommitMessageLengthExceededException.
Returns true if the error kind is DeleteFileErrorKind::EncryptionIntegrityChecksFailedException.
Returns true if the error kind is DeleteFileErrorKind::EncryptionKeyAccessDeniedException.
Returns true if the error kind is DeleteFileErrorKind::EncryptionKeyDisabledException.
Returns true if the error kind is DeleteFileErrorKind::EncryptionKeyNotFoundException.
Returns true if the error kind is DeleteFileErrorKind::EncryptionKeyUnavailableException.
Returns true if the error kind is DeleteFileErrorKind::FileDoesNotExistException.
Returns true if the error kind is DeleteFileErrorKind::InvalidBranchNameException.
Returns true if the error kind is DeleteFileErrorKind::InvalidEmailException.
Returns true if the error kind is DeleteFileErrorKind::InvalidParentCommitIdException.
Returns true if the error kind is DeleteFileErrorKind::InvalidPathException.
Returns true if the error kind is DeleteFileErrorKind::InvalidRepositoryNameException.
Returns true if the error kind is DeleteFileErrorKind::NameLengthExceededException.
Returns true if the error kind is DeleteFileErrorKind::ParentCommitDoesNotExistException.
Returns true if the error kind is DeleteFileErrorKind::ParentCommitIdOutdatedException.
Returns true if the error kind is DeleteFileErrorKind::ParentCommitIdRequiredException.
Returns true if the error kind is DeleteFileErrorKind::PathRequiredException.
Returns true if the error kind is DeleteFileErrorKind::RepositoryDoesNotExistException.
Returns true if the error kind is DeleteFileErrorKind::RepositoryNameRequiredException.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for DeleteFileError
impl Send for DeleteFileError
impl Sync for DeleteFileError
impl Unpin for DeleteFileError
impl !UnwindSafe for DeleteFileError
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