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