#[non_exhaustive]pub enum Error {
AccessDeniedException(AccessDeniedException),
InternalServerException(InternalServerException),
ServiceQuotaExceededException(ServiceQuotaExceededException),
ThrottlingException(ThrottlingException),
ValidationException(ValidationException),
Unhandled(Unhandled),
}
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 permission to perform this action.
InternalServerException(InternalServerException)
An internal server error occurred. Retry your request.
ServiceQuotaExceededException(ServiceQuotaExceededException)
Your request exceeds one or more of the service quotas.
ThrottlingException(ThrottlingException)
The calls to AWS Application Cost Profiler API are throttled. The request was denied.
ValidationException(ValidationException)
The input fails to satisfy the constraints for the API.
Unhandled(Unhandled)
An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
Trait Implementations§
source§impl Error for Error
impl Error for Error
source§fn 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 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<BuildError> for Error
impl From<BuildError> for Error
source§fn from(value: BuildError) -> Self
fn from(value: BuildError) -> Self
Converts to this type from the input type.
source§impl From<DeleteReportDefinitionError> for Error
impl From<DeleteReportDefinitionError> for Error
source§fn from(err: DeleteReportDefinitionError) -> Self
fn from(err: DeleteReportDefinitionError) -> Self
Converts to this type from the input type.
source§impl From<GetReportDefinitionError> for Error
impl From<GetReportDefinitionError> for Error
source§fn from(err: GetReportDefinitionError) -> Self
fn from(err: GetReportDefinitionError) -> Self
Converts to this type from the input type.
source§impl From<ImportApplicationUsageError> for Error
impl From<ImportApplicationUsageError> for Error
source§fn from(err: ImportApplicationUsageError) -> Self
fn from(err: ImportApplicationUsageError) -> Self
Converts to this type from the input type.
source§impl From<ListReportDefinitionsError> for Error
impl From<ListReportDefinitionsError> for Error
source§fn from(err: ListReportDefinitionsError) -> Self
fn from(err: ListReportDefinitionsError) -> Self
Converts to this type from the input type.
source§impl From<PutReportDefinitionError> for Error
impl From<PutReportDefinitionError> for Error
source§fn from(err: PutReportDefinitionError) -> Self
fn from(err: PutReportDefinitionError) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<DeleteReportDefinitionError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteReportDefinitionError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<DeleteReportDefinitionError, R>) -> Self
fn from(err: SdkError<DeleteReportDefinitionError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<GetReportDefinitionError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetReportDefinitionError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<GetReportDefinitionError, R>) -> Self
fn from(err: SdkError<GetReportDefinitionError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<ImportApplicationUsageError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ImportApplicationUsageError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<ImportApplicationUsageError, R>) -> Self
fn from(err: SdkError<ImportApplicationUsageError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<ListReportDefinitionsError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListReportDefinitionsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<ListReportDefinitionsError, R>) -> Self
fn from(err: SdkError<ListReportDefinitionsError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<PutReportDefinitionError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<PutReportDefinitionError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<PutReportDefinitionError, R>) -> Self
fn from(err: SdkError<PutReportDefinitionError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<UpdateReportDefinitionError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateReportDefinitionError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<UpdateReportDefinitionError, R>) -> Self
fn from(err: SdkError<UpdateReportDefinitionError, R>) -> Self
Converts to this type from the input type.
source§impl From<UpdateReportDefinitionError> for Error
impl From<UpdateReportDefinitionError> for Error
source§fn from(err: UpdateReportDefinitionError) -> Self
fn from(err: UpdateReportDefinitionError) -> 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.