Enum aws_sdk_iotdeviceadvisor::Error
source · #[non_exhaustive]
pub enum Error {
ConflictException(ConflictException),
InternalServerException(InternalServerException),
ResourceNotFoundException(ResourceNotFoundException),
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.
ConflictException(ConflictException)
Sends a Conflict Exception.
InternalServerException(InternalServerException)
Sends an Internal Failure exception.
ResourceNotFoundException(ResourceNotFoundException)
Sends a Resource Not Found exception.
ValidationException(ValidationException)
Sends a validation exception.
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
1.30.0 · 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<CreateSuiteDefinitionError> for Error
impl From<CreateSuiteDefinitionError> for Error
source§fn from(err: CreateSuiteDefinitionError) -> Self
fn from(err: CreateSuiteDefinitionError) -> Self
Converts to this type from the input type.
source§impl From<DeleteSuiteDefinitionError> for Error
impl From<DeleteSuiteDefinitionError> for Error
source§fn from(err: DeleteSuiteDefinitionError) -> Self
fn from(err: DeleteSuiteDefinitionError) -> Self
Converts to this type from the input type.
source§impl From<GetEndpointError> for Error
impl From<GetEndpointError> for Error
source§fn from(err: GetEndpointError) -> Self
fn from(err: GetEndpointError) -> Self
Converts to this type from the input type.
source§impl From<GetSuiteDefinitionError> for Error
impl From<GetSuiteDefinitionError> for Error
source§fn from(err: GetSuiteDefinitionError) -> Self
fn from(err: GetSuiteDefinitionError) -> Self
Converts to this type from the input type.
source§impl From<GetSuiteRunError> for Error
impl From<GetSuiteRunError> for Error
source§fn from(err: GetSuiteRunError) -> Self
fn from(err: GetSuiteRunError) -> Self
Converts to this type from the input type.
source§impl From<GetSuiteRunReportError> for Error
impl From<GetSuiteRunReportError> for Error
source§fn from(err: GetSuiteRunReportError) -> Self
fn from(err: GetSuiteRunReportError) -> Self
Converts to this type from the input type.
source§impl From<ListSuiteDefinitionsError> for Error
impl From<ListSuiteDefinitionsError> for Error
source§fn from(err: ListSuiteDefinitionsError) -> Self
fn from(err: ListSuiteDefinitionsError) -> Self
Converts to this type from the input type.
source§impl From<ListSuiteRunsError> for Error
impl From<ListSuiteRunsError> for Error
source§fn from(err: ListSuiteRunsError) -> Self
fn from(err: ListSuiteRunsError) -> Self
Converts to this type from the input type.
source§impl From<ListTagsForResourceError> for Error
impl From<ListTagsForResourceError> for Error
source§fn from(err: ListTagsForResourceError) -> Self
fn from(err: ListTagsForResourceError) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<CreateSuiteDefinitionError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateSuiteDefinitionError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<CreateSuiteDefinitionError, R>) -> Self
fn from(err: SdkError<CreateSuiteDefinitionError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<DeleteSuiteDefinitionError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteSuiteDefinitionError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<DeleteSuiteDefinitionError, R>) -> Self
fn from(err: SdkError<DeleteSuiteDefinitionError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<GetEndpointError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetEndpointError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<GetEndpointError, R>) -> Self
fn from(err: SdkError<GetEndpointError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<GetSuiteDefinitionError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetSuiteDefinitionError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<GetSuiteDefinitionError, R>) -> Self
fn from(err: SdkError<GetSuiteDefinitionError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<GetSuiteRunError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetSuiteRunError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<GetSuiteRunError, R>) -> Self
fn from(err: SdkError<GetSuiteRunError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<GetSuiteRunReportError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetSuiteRunReportError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<GetSuiteRunReportError, R>) -> Self
fn from(err: SdkError<GetSuiteRunReportError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<ListSuiteDefinitionsError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListSuiteDefinitionsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<ListSuiteDefinitionsError, R>) -> Self
fn from(err: SdkError<ListSuiteDefinitionsError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<ListSuiteRunsError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListSuiteRunsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<ListSuiteRunsError, R>) -> Self
fn from(err: SdkError<ListSuiteRunsError, R>) -> Self
Converts to this type from the input type.
source§impl<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,
source§fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<StartSuiteRunError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<StartSuiteRunError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<StartSuiteRunError, R>) -> Self
fn from(err: SdkError<StartSuiteRunError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<StopSuiteRunError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<StopSuiteRunError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<StopSuiteRunError, R>) -> Self
fn from(err: SdkError<StopSuiteRunError, R>) -> Self
Converts to this type from the input type.
source§impl<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,
source§fn from(err: SdkError<TagResourceError, R>) -> Self
fn from(err: SdkError<TagResourceError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<UntagResourceError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UntagResourceError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<UntagResourceError, R>) -> Self
fn from(err: SdkError<UntagResourceError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<UpdateSuiteDefinitionError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateSuiteDefinitionError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<UpdateSuiteDefinitionError, R>) -> Self
fn from(err: SdkError<UpdateSuiteDefinitionError, R>) -> Self
Converts to this type from the input type.
source§impl From<StartSuiteRunError> for Error
impl From<StartSuiteRunError> for Error
source§fn from(err: StartSuiteRunError) -> Self
fn from(err: StartSuiteRunError) -> Self
Converts to this type from the input type.
source§impl From<StopSuiteRunError> for Error
impl From<StopSuiteRunError> for Error
source§fn from(err: StopSuiteRunError) -> Self
fn from(err: StopSuiteRunError) -> Self
Converts to this type from the input type.
source§impl From<TagResourceError> for Error
impl From<TagResourceError> for Error
source§fn from(err: TagResourceError) -> Self
fn from(err: TagResourceError) -> Self
Converts to this type from the input type.
source§impl From<UntagResourceError> for Error
impl From<UntagResourceError> for Error
source§fn from(err: UntagResourceError) -> Self
fn from(err: UntagResourceError) -> Self
Converts to this type from the input type.
source§impl From<UpdateSuiteDefinitionError> for Error
impl From<UpdateSuiteDefinitionError> for Error
source§fn from(err: UpdateSuiteDefinitionError) -> Self
fn from(err: UpdateSuiteDefinitionError) -> Self
Converts to this type from the input type.