Struct aws_sdk_codecommit::error::ListPullRequestsError
source · [−]#[non_exhaustive]pub struct ListPullRequestsError {
pub kind: ListPullRequestsErrorKind,
/* private fields */
}
Expand description
Error type for the ListPullRequests
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: ListPullRequestsErrorKind
Kind of error that occurred.
Implementations
Creates a new ListPullRequestsError
.
Creates the ListPullRequestsError::Unhandled
variant from any error type.
Creates the ListPullRequestsError::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 ListPullRequestsErrorKind::AuthorDoesNotExistException
.
Returns true
if the error kind is ListPullRequestsErrorKind::EncryptionIntegrityChecksFailedException
.
Returns true
if the error kind is ListPullRequestsErrorKind::EncryptionKeyAccessDeniedException
.
Returns true
if the error kind is ListPullRequestsErrorKind::EncryptionKeyDisabledException
.
Returns true
if the error kind is ListPullRequestsErrorKind::EncryptionKeyNotFoundException
.
Returns true
if the error kind is ListPullRequestsErrorKind::EncryptionKeyUnavailableException
.
Returns true
if the error kind is ListPullRequestsErrorKind::InvalidAuthorArnException
.
Returns true
if the error kind is ListPullRequestsErrorKind::InvalidContinuationTokenException
.
Returns true
if the error kind is ListPullRequestsErrorKind::InvalidMaxResultsException
.
Returns true
if the error kind is ListPullRequestsErrorKind::InvalidPullRequestStatusException
.
Returns true
if the error kind is ListPullRequestsErrorKind::InvalidRepositoryNameException
.
Returns true
if the error kind is ListPullRequestsErrorKind::RepositoryDoesNotExistException
.
Returns true
if the error kind is ListPullRequestsErrorKind::RepositoryNameRequiredException
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ListPullRequestsError
impl Send for ListPullRequestsError
impl Sync for ListPullRequestsError
impl Unpin for ListPullRequestsError
impl !UnwindSafe for ListPullRequestsError
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