Enum aws_sdk_codeguruprofiler::Error
source · [−]#[non_exhaustive]
pub enum Error {
ConflictException(ConflictException),
InternalServerException(InternalServerException),
ResourceNotFoundException(ResourceNotFoundException),
ServiceQuotaExceededException(ServiceQuotaExceededException),
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.
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.
ResourceNotFoundException(ResourceNotFoundException)
The resource specified in the request does not exist.
ServiceQuotaExceededException(ServiceQuotaExceededException)
You have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
ThrottlingException(ThrottlingException)
The request was denied due to request throttling.
ValidationException(ValidationException)
The parameter is not valid.
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<AddNotificationChannelsError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<AddNotificationChannelsError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<AddNotificationChannelsError, R>) -> Self
fn from(err: SdkError<AddNotificationChannelsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<BatchGetFrameMetricDataError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<BatchGetFrameMetricDataError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<BatchGetFrameMetricDataError, R>) -> Self
fn from(err: SdkError<BatchGetFrameMetricDataError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ConfigureAgentError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ConfigureAgentError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ConfigureAgentError, R>) -> Self
fn from(err: SdkError<ConfigureAgentError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateProfilingGroupError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateProfilingGroupError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateProfilingGroupError, R>) -> Self
fn from(err: SdkError<CreateProfilingGroupError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteProfilingGroupError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteProfilingGroupError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteProfilingGroupError, R>) -> Self
fn from(err: SdkError<DeleteProfilingGroupError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeProfilingGroupError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeProfilingGroupError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeProfilingGroupError, R>) -> Self
fn from(err: SdkError<DescribeProfilingGroupError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetFindingsReportAccountSummaryError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetFindingsReportAccountSummaryError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetFindingsReportAccountSummaryError, R>) -> Self
fn from(err: SdkError<GetFindingsReportAccountSummaryError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetNotificationConfigurationError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetNotificationConfigurationError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetNotificationConfigurationError, R>) -> Self
fn from(err: SdkError<GetNotificationConfigurationError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetPolicyError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetPolicyError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetPolicyError, R>) -> Self
fn from(err: SdkError<GetPolicyError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetProfileError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetProfileError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetProfileError, R>) -> Self
fn from(err: SdkError<GetProfileError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetRecommendationsError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetRecommendationsError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetRecommendationsError, R>) -> Self
fn from(err: SdkError<GetRecommendationsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListFindingsReportsError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListFindingsReportsError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListFindingsReportsError, R>) -> Self
fn from(err: SdkError<ListFindingsReportsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListProfileTimesError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListProfileTimesError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListProfileTimesError, R>) -> Self
fn from(err: SdkError<ListProfileTimesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListProfilingGroupsError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListProfilingGroupsError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListProfilingGroupsError, R>) -> Self
fn from(err: SdkError<ListProfilingGroupsError, 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<PostAgentProfileError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<PostAgentProfileError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<PostAgentProfileError, R>) -> Self
fn from(err: SdkError<PostAgentProfileError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<PutPermissionError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<PutPermissionError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<PutPermissionError, R>) -> Self
fn from(err: SdkError<PutPermissionError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<RemoveNotificationChannelError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<RemoveNotificationChannelError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<RemoveNotificationChannelError, R>) -> Self
fn from(err: SdkError<RemoveNotificationChannelError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<RemovePermissionError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<RemovePermissionError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<RemovePermissionError, R>) -> Self
fn from(err: SdkError<RemovePermissionError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<SubmitFeedbackError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<SubmitFeedbackError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<SubmitFeedbackError, R>) -> Self
fn from(err: SdkError<SubmitFeedbackError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<TagResourceError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<TagResourceError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<TagResourceError, R>) -> Self
fn from(err: SdkError<TagResourceError, 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