aws_sdk_dynamodb/
error.rs1pub use ::aws_smithy_runtime_api::box_error::BoxError;
3
4pub type SdkError<E, R = ::aws_smithy_runtime_api::client::orchestrator::HttpResponse> = ::aws_smithy_runtime_api::client::result::SdkError<E, R>;
6 pub use ::aws_smithy_types::error::operation::BuildError;
7 pub use ::aws_smithy_runtime_api::client::result::ConnectorError;
8
9 pub use ::aws_smithy_types::error::display::DisplayErrorContext;
10 pub use ::aws_smithy_types::error::metadata::ProvideErrorMetadata;
11 pub use ::aws_smithy_types::error::metadata::ErrorMetadata;
12
13#[derive(Debug)]
15 pub struct UnknownVariantError {
16 value: ::std::string::String,
17 }
18 impl UnknownVariantError {
19 pub(crate) fn new(value: impl ::std::convert::Into<::std::string::String>) -> Self {
20 Self { value: value.into() }
21 }
22 }
23 impl ::std::fmt::Display for UnknownVariantError {
24 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::result::Result<(), ::std::fmt::Error> {
25 write!(f, "unknown enum variant: '{}'", self.value)
26 }
27 }
28 impl ::std::error::Error for UnknownVariantError {}
29
30pub(crate) mod sealed_unhandled;
31