Enum aws_sdk_codegurureviewer::Error
source · [−]#[non_exhaustive]
pub enum Error {
AccessDeniedException(AccessDeniedException),
ConflictException(ConflictException),
InternalServerException(InternalServerException),
NotFoundException(NotFoundException),
ResourceNotFoundException(ResourceNotFoundException),
ThrottlingException(ThrottlingException),
ValidationException(ValidationException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}Expand description
All possible error types for this service.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AccessDeniedException(AccessDeniedException)
You do not have sufficient access to perform this action.
ConflictException(ConflictException)
The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.
InternalServerException(InternalServerException)
The server encountered an internal error and is unable to complete the request.
NotFoundException(NotFoundException)
The resource specified in the request was not found.
ResourceNotFoundException(ResourceNotFoundException)
The resource specified in the request was not found.
ThrottlingException(ThrottlingException)
The request was denied due to request throttling.
ValidationException(ValidationException)
The input fails to satisfy the specified constraints.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unhandled error occurred.
Trait Implementations
sourceimpl Error for Error
impl Error for Error
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl<R> From<SdkError<AssociateRepositoryError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<AssociateRepositoryError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<AssociateRepositoryError, R>) -> Self
fn from(err: SdkError<AssociateRepositoryError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateCodeReviewError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateCodeReviewError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateCodeReviewError, R>) -> Self
fn from(err: SdkError<CreateCodeReviewError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeCodeReviewError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeCodeReviewError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeCodeReviewError, R>) -> Self
fn from(err: SdkError<DescribeCodeReviewError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeRecommendationFeedbackError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeRecommendationFeedbackError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeRecommendationFeedbackError, R>) -> Self
fn from(err: SdkError<DescribeRecommendationFeedbackError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeRepositoryAssociationError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeRepositoryAssociationError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeRepositoryAssociationError, R>) -> Self
fn from(err: SdkError<DescribeRepositoryAssociationError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DisassociateRepositoryError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DisassociateRepositoryError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DisassociateRepositoryError, R>) -> Self
fn from(err: SdkError<DisassociateRepositoryError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListCodeReviewsError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListCodeReviewsError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListCodeReviewsError, R>) -> Self
fn from(err: SdkError<ListCodeReviewsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListRecommendationFeedbackError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListRecommendationFeedbackError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListRecommendationFeedbackError, R>) -> Self
fn from(err: SdkError<ListRecommendationFeedbackError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListRecommendationsError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListRecommendationsError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListRecommendationsError, R>) -> Self
fn from(err: SdkError<ListRecommendationsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListRepositoryAssociationsError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListRepositoryAssociationsError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListRepositoryAssociationsError, R>) -> Self
fn from(err: SdkError<ListRepositoryAssociationsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListTagsForResourceError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListTagsForResourceError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListTagsForResourceError, R>) -> Self
fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<PutRecommendationFeedbackError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<PutRecommendationFeedbackError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<PutRecommendationFeedbackError, R>) -> Self
fn from(err: SdkError<PutRecommendationFeedbackError, R>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more