Struct aws_sdk_codegurureviewer::error::ListCodeReviewsError [−][src]
#[non_exhaustive]pub struct ListCodeReviewsError {
pub kind: ListCodeReviewsErrorKind,
// some fields omitted
}
Expand description
Error type for the ListCodeReviews
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: ListCodeReviewsErrorKind
Kind of error that occurred.
Implementations
Creates a new ListCodeReviewsError
.
Creates the ListCodeReviewsError::Unhandled
variant from any error type.
Creates the ListCodeReviewsError::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 ListCodeReviewsErrorKind::AccessDeniedException
.
Returns true if the error kind is ListCodeReviewsErrorKind::InternalServerException
.
Returns true if the error kind is ListCodeReviewsErrorKind::ThrottlingException
.
Returns true if the error kind is ListCodeReviewsErrorKind::ValidationException
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ListCodeReviewsError
impl Send for ListCodeReviewsError
impl Sync for ListCodeReviewsError
impl Unpin for ListCodeReviewsError
impl !UnwindSafe for ListCodeReviewsError
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