1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2/// This struct is not intended to be used.
3///
4/// This struct holds information about an unhandled error,
5/// but that information should be obtained by using the
6/// [`ProvideErrorMetadata`](::aws_smithy_types::error::metadata::ProvideErrorMetadata) trait
7/// on the error type.
8///
9/// This struct intentionally doesn't yield any useful information itself.
10#[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
11variable wildcard pattern and check `.code()`:
12 \
13 `err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
14 \
15See [`ProvideErrorMetadata`](::aws_smithy_types::error::metadata::ProvideErrorMetadata) for what information is available for the error.")]
16#[derive(Debug)]
17pub struct Unhandled {
18pub(crate) source: ::aws_smithy_runtime_api::box_error::BoxError,
19pub(crate) meta: ::aws_smithy_types::error::metadata::ErrorMetadata,
20}