#[non_exhaustive]pub struct MergePullRequestByFastForwardError {
pub kind: MergePullRequestByFastForwardErrorKind,
/* private fields */
}
Expand description
Error type for the MergePullRequestByFastForward
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: MergePullRequestByFastForwardErrorKind
Kind of error that occurred.
Implementations
Creates a new MergePullRequestByFastForwardError
.
Creates the MergePullRequestByFastForwardError::Unhandled
variant from any error type.
Creates the MergePullRequestByFastForwardError::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 MergePullRequestByFastForwardErrorKind::ConcurrentReferenceUpdateException
.
Returns true
if the error kind is MergePullRequestByFastForwardErrorKind::EncryptionIntegrityChecksFailedException
.
Returns true
if the error kind is MergePullRequestByFastForwardErrorKind::EncryptionKeyAccessDeniedException
.
Returns true
if the error kind is MergePullRequestByFastForwardErrorKind::EncryptionKeyDisabledException
.
Returns true
if the error kind is MergePullRequestByFastForwardErrorKind::EncryptionKeyNotFoundException
.
Returns true
if the error kind is MergePullRequestByFastForwardErrorKind::EncryptionKeyUnavailableException
.
Returns true
if the error kind is MergePullRequestByFastForwardErrorKind::InvalidCommitIdException
.
Returns true
if the error kind is MergePullRequestByFastForwardErrorKind::InvalidPullRequestIdException
.
Returns true
if the error kind is MergePullRequestByFastForwardErrorKind::InvalidRepositoryNameException
.
Returns true
if the error kind is MergePullRequestByFastForwardErrorKind::ManualMergeRequiredException
.
Returns true
if the error kind is MergePullRequestByFastForwardErrorKind::PullRequestAlreadyClosedException
.
Returns true
if the error kind is MergePullRequestByFastForwardErrorKind::PullRequestApprovalRulesNotSatisfiedException
.
Returns true
if the error kind is MergePullRequestByFastForwardErrorKind::PullRequestDoesNotExistException
.
Returns true
if the error kind is MergePullRequestByFastForwardErrorKind::PullRequestIdRequiredException
.
Returns true
if the error kind is MergePullRequestByFastForwardErrorKind::ReferenceDoesNotExistException
.
Returns true
if the error kind is MergePullRequestByFastForwardErrorKind::RepositoryDoesNotExistException
.
Returns true
if the error kind is MergePullRequestByFastForwardErrorKind::RepositoryNameRequiredException
.
Returns true
if the error kind is MergePullRequestByFastForwardErrorKind::RepositoryNotAssociatedWithPullRequestException
.
Returns true
if the error kind is MergePullRequestByFastForwardErrorKind::TipOfSourceReferenceIsDifferentException
.
Trait Implementations
Auto Trait Implementations
impl Send for MergePullRequestByFastForwardError
impl Sync for MergePullRequestByFastForwardError
impl Unpin for MergePullRequestByFastForwardError
impl !UnwindSafe for MergePullRequestByFastForwardError
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