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
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
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl<R> From<SdkError<AddNotificationChannelsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<AddNotificationChannelsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<AddNotificationChannelsError, R>) -> Self
fn from(err: SdkError<AddNotificationChannelsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<BatchGetFrameMetricDataError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<BatchGetFrameMetricDataError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<BatchGetFrameMetricDataError, R>) -> Self
fn from(err: SdkError<BatchGetFrameMetricDataError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ConfigureAgentError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ConfigureAgentError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ConfigureAgentError, R>) -> Self
fn from(err: SdkError<ConfigureAgentError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<CreateProfilingGroupError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateProfilingGroupError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateProfilingGroupError, R>) -> Self
fn from(err: SdkError<CreateProfilingGroupError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DeleteProfilingGroupError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteProfilingGroupError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteProfilingGroupError, R>) -> Self
fn from(err: SdkError<DeleteProfilingGroupError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DescribeProfilingGroupError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeProfilingGroupError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeProfilingGroupError, R>) -> Self
fn from(err: SdkError<DescribeProfilingGroupError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetFindingsReportAccountSummaryError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetFindingsReportAccountSummaryError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetFindingsReportAccountSummaryError, R>) -> Self
fn from(err: SdkError<GetFindingsReportAccountSummaryError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetNotificationConfigurationError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetNotificationConfigurationError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetNotificationConfigurationError, R>) -> Self
fn from(err: SdkError<GetNotificationConfigurationError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetPolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetPolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetPolicyError, R>) -> Self
fn from(err: SdkError<GetPolicyError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetProfileError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetProfileError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetProfileError, R>) -> Self
fn from(err: SdkError<GetProfileError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetRecommendationsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetRecommendationsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetRecommendationsError, R>) -> Self
fn from(err: SdkError<GetRecommendationsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListFindingsReportsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListFindingsReportsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListFindingsReportsError, R>) -> Self
fn from(err: SdkError<ListFindingsReportsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListProfileTimesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListProfileTimesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListProfileTimesError, R>) -> Self
fn from(err: SdkError<ListProfileTimesError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListProfilingGroupsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListProfilingGroupsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListProfilingGroupsError, R>) -> Self
fn from(err: SdkError<ListProfilingGroupsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListTagsForResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListTagsForResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListTagsForResourceError, R>) -> Self
fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<PostAgentProfileError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<PostAgentProfileError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<PostAgentProfileError, R>) -> Self
fn from(err: SdkError<PostAgentProfileError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<PutPermissionError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<PutPermissionError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<PutPermissionError, R>) -> Self
fn from(err: SdkError<PutPermissionError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<RemoveNotificationChannelError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<RemoveNotificationChannelError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<RemoveNotificationChannelError, R>) -> Self
fn from(err: SdkError<RemoveNotificationChannelError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<RemovePermissionError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<RemovePermissionError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<RemovePermissionError, R>) -> Self
fn from(err: SdkError<RemovePermissionError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<SubmitFeedbackError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<SubmitFeedbackError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<SubmitFeedbackError, R>) -> Self
fn from(err: SdkError<SubmitFeedbackError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<TagResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<TagResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<TagResourceError, R>) -> Self
fn from(err: SdkError<TagResourceError, R>) -> Self
Performs the conversion.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more