Enum aws_sdk_iot1clickprojects::Error 
source · #[non_exhaustive]
pub enum Error {
    InternalFailureException(InternalFailureException),
    InvalidRequestException(InvalidRequestException),
    ResourceConflictException(ResourceConflictException),
    ResourceNotFoundException(ResourceNotFoundException),
    TooManyRequestsException(TooManyRequestsException),
    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.
InternalFailureException(InternalFailureException)
InvalidRequestException(InvalidRequestException)
ResourceConflictException(ResourceConflictException)
ResourceNotFoundException(ResourceNotFoundException)
TooManyRequestsException(TooManyRequestsException)
Unhandled(Unhandled)
An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
When logging an error from the SDK, it is recommended that you either wrap the error in
DisplayErrorContext, use another
error reporter library that visits the error’s cause/source chain, or call
Error::source for more details about the underlying cause.
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<AssociateDeviceWithPlacementError> for Error
 
impl From<AssociateDeviceWithPlacementError> for Error
source§fn from(err: AssociateDeviceWithPlacementError) -> Self
 
fn from(err: AssociateDeviceWithPlacementError) -> Self
Converts to this type from the input type.
source§impl From<CreatePlacementError> for Error
 
impl From<CreatePlacementError> for Error
source§fn from(err: CreatePlacementError) -> Self
 
fn from(err: CreatePlacementError) -> Self
Converts to this type from the input type.
source§impl From<CreateProjectError> for Error
 
impl From<CreateProjectError> for Error
source§fn from(err: CreateProjectError) -> Self
 
fn from(err: CreateProjectError) -> Self
Converts to this type from the input type.
source§impl From<DeletePlacementError> for Error
 
impl From<DeletePlacementError> for Error
source§fn from(err: DeletePlacementError) -> Self
 
fn from(err: DeletePlacementError) -> Self
Converts to this type from the input type.
source§impl From<DeleteProjectError> for Error
 
impl From<DeleteProjectError> for Error
source§fn from(err: DeleteProjectError) -> Self
 
fn from(err: DeleteProjectError) -> Self
Converts to this type from the input type.
source§impl From<DescribePlacementError> for Error
 
impl From<DescribePlacementError> for Error
source§fn from(err: DescribePlacementError) -> Self
 
fn from(err: DescribePlacementError) -> Self
Converts to this type from the input type.
source§impl From<DescribeProjectError> for Error
 
impl From<DescribeProjectError> for Error
source§fn from(err: DescribeProjectError) -> Self
 
fn from(err: DescribeProjectError) -> Self
Converts to this type from the input type.
source§impl From<DisassociateDeviceFromPlacementError> for Error
 
impl From<DisassociateDeviceFromPlacementError> for Error
source§fn from(err: DisassociateDeviceFromPlacementError) -> Self
 
fn from(err: DisassociateDeviceFromPlacementError) -> Self
Converts to this type from the input type.
source§impl From<GetDevicesInPlacementError> for Error
 
impl From<GetDevicesInPlacementError> for Error
source§fn from(err: GetDevicesInPlacementError) -> Self
 
fn from(err: GetDevicesInPlacementError) -> Self
Converts to this type from the input type.
source§impl From<ListPlacementsError> for Error
 
impl From<ListPlacementsError> for Error
source§fn from(err: ListPlacementsError) -> Self
 
fn from(err: ListPlacementsError) -> Self
Converts to this type from the input type.
source§impl From<ListProjectsError> for Error
 
impl From<ListProjectsError> for Error
source§fn from(err: ListProjectsError) -> Self
 
fn from(err: ListProjectsError) -> 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<AssociateDeviceWithPlacementError, R>> for Errorwhere
    R: Send + Sync + Debug + 'static,
 
impl<R> From<SdkError<AssociateDeviceWithPlacementError, R>> for Errorwhere
    R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<AssociateDeviceWithPlacementError, R>) -> Self
 
fn from(err: SdkError<AssociateDeviceWithPlacementError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<CreatePlacementError, R>> for Errorwhere
    R: Send + Sync + Debug + 'static,
 
impl<R> From<SdkError<CreatePlacementError, R>> for Errorwhere
    R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<CreatePlacementError, R>) -> Self
 
fn from(err: SdkError<CreatePlacementError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<CreateProjectError, R>> for Errorwhere
    R: Send + Sync + Debug + 'static,
 
impl<R> From<SdkError<CreateProjectError, R>> for Errorwhere
    R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<CreateProjectError, R>) -> Self
 
fn from(err: SdkError<CreateProjectError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<DeletePlacementError, R>> for Errorwhere
    R: Send + Sync + Debug + 'static,
 
impl<R> From<SdkError<DeletePlacementError, R>> for Errorwhere
    R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<DeletePlacementError, R>) -> Self
 
fn from(err: SdkError<DeletePlacementError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<DeleteProjectError, R>> for Errorwhere
    R: Send + Sync + Debug + 'static,
 
impl<R> From<SdkError<DeleteProjectError, R>> for Errorwhere
    R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<DeleteProjectError, R>) -> Self
 
fn from(err: SdkError<DeleteProjectError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<DescribePlacementError, R>> for Errorwhere
    R: Send + Sync + Debug + 'static,
 
impl<R> From<SdkError<DescribePlacementError, R>> for Errorwhere
    R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<DescribePlacementError, R>) -> Self
 
fn from(err: SdkError<DescribePlacementError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<DescribeProjectError, R>> for Errorwhere
    R: Send + Sync + Debug + 'static,
 
impl<R> From<SdkError<DescribeProjectError, R>> for Errorwhere
    R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<DescribeProjectError, R>) -> Self
 
fn from(err: SdkError<DescribeProjectError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<DisassociateDeviceFromPlacementError, R>> for Errorwhere
    R: Send + Sync + Debug + 'static,
 
impl<R> From<SdkError<DisassociateDeviceFromPlacementError, R>> for Errorwhere
    R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<DisassociateDeviceFromPlacementError, R>) -> Self
 
fn from(err: SdkError<DisassociateDeviceFromPlacementError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<GetDevicesInPlacementError, R>> for Errorwhere
    R: Send + Sync + Debug + 'static,
 
impl<R> From<SdkError<GetDevicesInPlacementError, R>> for Errorwhere
    R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<GetDevicesInPlacementError, R>) -> Self
 
fn from(err: SdkError<GetDevicesInPlacementError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<ListPlacementsError, R>> for Errorwhere
    R: Send + Sync + Debug + 'static,
 
impl<R> From<SdkError<ListPlacementsError, R>> for Errorwhere
    R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<ListPlacementsError, R>) -> Self
 
fn from(err: SdkError<ListPlacementsError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<ListProjectsError, R>> for Errorwhere
    R: Send + Sync + Debug + 'static,
 
impl<R> From<SdkError<ListProjectsError, R>> for Errorwhere
    R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<ListProjectsError, R>) -> Self
 
fn from(err: SdkError<ListProjectsError, 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<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<UpdatePlacementError, R>> for Errorwhere
    R: Send + Sync + Debug + 'static,
 
impl<R> From<SdkError<UpdatePlacementError, R>> for Errorwhere
    R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<UpdatePlacementError, R>) -> Self
 
fn from(err: SdkError<UpdatePlacementError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<UpdateProjectError, R>> for Errorwhere
    R: Send + Sync + Debug + 'static,
 
impl<R> From<SdkError<UpdateProjectError, R>> for Errorwhere
    R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<UpdateProjectError, R>) -> Self
 
fn from(err: SdkError<UpdateProjectError, R>) -> 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<UpdatePlacementError> for Error
 
impl From<UpdatePlacementError> for Error
source§fn from(err: UpdatePlacementError) -> Self
 
fn from(err: UpdatePlacementError) -> Self
Converts to this type from the input type.
source§impl From<UpdateProjectError> for Error
 
impl From<UpdateProjectError> for Error
source§fn from(err: UpdateProjectError) -> Self
 
fn from(err: UpdateProjectError) -> Self
Converts to this type from the input type.