#[non_exhaustive]pub struct PostCommentForPullRequestError {
pub kind: PostCommentForPullRequestErrorKind,
/* private fields */
}
Expand description
Error type for the PostCommentForPullRequest
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: PostCommentForPullRequestErrorKind
Kind of error that occurred.
Implementations
Creates a new PostCommentForPullRequestError
.
Creates the PostCommentForPullRequestError::Unhandled
variant from any error type.
Creates the PostCommentForPullRequestError::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 PostCommentForPullRequestErrorKind::BeforeCommitIdAndAfterCommitIdAreSameException
.
Returns true
if the error kind is PostCommentForPullRequestErrorKind::ClientRequestTokenRequiredException
.
Returns true
if the error kind is PostCommentForPullRequestErrorKind::CommentContentRequiredException
.
Returns true
if the error kind is PostCommentForPullRequestErrorKind::CommentContentSizeLimitExceededException
.
Returns true
if the error kind is PostCommentForPullRequestErrorKind::CommitDoesNotExistException
.
Returns true
if the error kind is PostCommentForPullRequestErrorKind::CommitIdRequiredException
.
Returns true
if the error kind is PostCommentForPullRequestErrorKind::EncryptionIntegrityChecksFailedException
.
Returns true
if the error kind is PostCommentForPullRequestErrorKind::EncryptionKeyAccessDeniedException
.
Returns true
if the error kind is PostCommentForPullRequestErrorKind::EncryptionKeyDisabledException
.
Returns true
if the error kind is PostCommentForPullRequestErrorKind::EncryptionKeyNotFoundException
.
Returns true
if the error kind is PostCommentForPullRequestErrorKind::EncryptionKeyUnavailableException
.
Returns true
if the error kind is PostCommentForPullRequestErrorKind::IdempotencyParameterMismatchException
.
Returns true
if the error kind is PostCommentForPullRequestErrorKind::InvalidClientRequestTokenException
.
Returns true
if the error kind is PostCommentForPullRequestErrorKind::InvalidCommitIdException
.
Returns true
if the error kind is PostCommentForPullRequestErrorKind::InvalidFileLocationException
.
Returns true
if the error kind is PostCommentForPullRequestErrorKind::InvalidFilePositionException
.
Returns true
if the error kind is PostCommentForPullRequestErrorKind::InvalidPathException
.
Returns true
if the error kind is PostCommentForPullRequestErrorKind::InvalidPullRequestIdException
.
Returns true
if the error kind is PostCommentForPullRequestErrorKind::InvalidRelativeFileVersionEnumException
.
Returns true
if the error kind is PostCommentForPullRequestErrorKind::InvalidRepositoryNameException
.
Returns true
if the error kind is PostCommentForPullRequestErrorKind::PathDoesNotExistException
.
Returns true
if the error kind is PostCommentForPullRequestErrorKind::PathRequiredException
.
Returns true
if the error kind is PostCommentForPullRequestErrorKind::PullRequestDoesNotExistException
.
Returns true
if the error kind is PostCommentForPullRequestErrorKind::PullRequestIdRequiredException
.
Returns true
if the error kind is PostCommentForPullRequestErrorKind::RepositoryDoesNotExistException
.
Returns true
if the error kind is PostCommentForPullRequestErrorKind::RepositoryNameRequiredException
.
Returns true
if the error kind is PostCommentForPullRequestErrorKind::RepositoryNotAssociatedWithPullRequestException
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for PostCommentForPullRequestError
impl Send for PostCommentForPullRequestError
impl Sync for PostCommentForPullRequestError
impl Unpin for PostCommentForPullRequestError
impl !UnwindSafe for PostCommentForPullRequestError
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