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