Struct aws_sdk_codecommit::error::OverridePullRequestApprovalRulesError [−][src]
#[non_exhaustive]pub struct OverridePullRequestApprovalRulesError {
pub kind: OverridePullRequestApprovalRulesErrorKind,
// some fields omitted
}Expand description
Error type for the OverridePullRequestApprovalRules 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: OverridePullRequestApprovalRulesErrorKindKind of error that occurred.
Implementations
Creates a new OverridePullRequestApprovalRulesError.
Creates the OverridePullRequestApprovalRulesError::Unhandled variant from any error type.
Creates the OverridePullRequestApprovalRulesError::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 OverridePullRequestApprovalRulesErrorKind::EncryptionIntegrityChecksFailedException.
Returns true if the error kind is OverridePullRequestApprovalRulesErrorKind::EncryptionKeyAccessDeniedException.
Returns true if the error kind is OverridePullRequestApprovalRulesErrorKind::EncryptionKeyDisabledException.
Returns true if the error kind is OverridePullRequestApprovalRulesErrorKind::EncryptionKeyNotFoundException.
Returns true if the error kind is OverridePullRequestApprovalRulesErrorKind::EncryptionKeyUnavailableException.
Returns true if the error kind is OverridePullRequestApprovalRulesErrorKind::InvalidOverrideStatusException.
Returns true if the error kind is OverridePullRequestApprovalRulesErrorKind::InvalidPullRequestIdException.
Returns true if the error kind is OverridePullRequestApprovalRulesErrorKind::InvalidRevisionIdException.
Returns true if the error kind is OverridePullRequestApprovalRulesErrorKind::OverrideAlreadySetException.
Returns true if the error kind is OverridePullRequestApprovalRulesErrorKind::OverrideStatusRequiredException.
Returns true if the error kind is OverridePullRequestApprovalRulesErrorKind::PullRequestAlreadyClosedException.
Returns true if the error kind is OverridePullRequestApprovalRulesErrorKind::PullRequestDoesNotExistException.
Returns true if the error kind is OverridePullRequestApprovalRulesErrorKind::PullRequestIdRequiredException.
Returns true if the error kind is OverridePullRequestApprovalRulesErrorKind::RevisionIdRequiredException.
Returns true if the error kind is OverridePullRequestApprovalRulesErrorKind::RevisionNotCurrentException.
Trait Implementations
Auto Trait Implementations
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