Struct aws_sdk_codecommit::error::GetPullRequestOverrideStateError [−][src]
#[non_exhaustive]pub struct GetPullRequestOverrideStateError {
pub kind: GetPullRequestOverrideStateErrorKind,
// some fields omitted
}Expand description
Error type for the GetPullRequestOverrideState 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: GetPullRequestOverrideStateErrorKindKind of error that occurred.
Implementations
Creates a new GetPullRequestOverrideStateError.
Creates the GetPullRequestOverrideStateError::Unhandled variant from any error type.
Creates the GetPullRequestOverrideStateError::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 GetPullRequestOverrideStateErrorKind::EncryptionIntegrityChecksFailedException.
Returns true if the error kind is GetPullRequestOverrideStateErrorKind::EncryptionKeyAccessDeniedException.
Returns true if the error kind is GetPullRequestOverrideStateErrorKind::EncryptionKeyDisabledException.
Returns true if the error kind is GetPullRequestOverrideStateErrorKind::EncryptionKeyNotFoundException.
Returns true if the error kind is GetPullRequestOverrideStateErrorKind::EncryptionKeyUnavailableException.
Returns true if the error kind is GetPullRequestOverrideStateErrorKind::InvalidPullRequestIdException.
Returns true if the error kind is GetPullRequestOverrideStateErrorKind::InvalidRevisionIdException.
Returns true if the error kind is GetPullRequestOverrideStateErrorKind::PullRequestDoesNotExistException.
Returns true if the error kind is GetPullRequestOverrideStateErrorKind::PullRequestIdRequiredException.
Returns true if the error kind is GetPullRequestOverrideStateErrorKind::RevisionIdRequiredException.
Trait Implementations
Auto Trait Implementations
impl Send for GetPullRequestOverrideStateError
impl Sync for GetPullRequestOverrideStateError
impl Unpin for GetPullRequestOverrideStateError
impl !UnwindSafe for GetPullRequestOverrideStateError
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