159 159 | }
|
160 160 | impl From<crate::operation::escaped_string_values::EscapedStringValuesError> for Error {
|
161 161 | fn from(err: crate::operation::escaped_string_values::EscapedStringValuesError) -> Self {
|
162 162 | match err {
|
163 163 | crate::operation::escaped_string_values::EscapedStringValuesError::ValidationError(inner) => Error::ValidationError(inner),
|
164 164 | crate::operation::escaped_string_values::EscapedStringValuesError::ExtraError(inner) => Error::ExtraError(inner),
|
165 165 | crate::operation::escaped_string_values::EscapedStringValuesError::Unhandled(inner) => Error::Unhandled(inner),
|
166 166 | }
|
167 167 | }
|
168 168 | }
|
169 - | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_enum_payload2::HttpEnumPayload2Error, R>> for Error
|
170 - | where
|
171 - | R: Send + Sync + std::fmt::Debug + 'static,
|
172 - | {
|
173 - | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_enum_payload2::HttpEnumPayload2Error, R>) -> Self {
|
174 - | match err {
|
175 - | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
176 - | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
177 - | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
178 - | source: err.into(),
|
179 - | }),
|
180 - | }
|
181 - | }
|
182 - | }
|
183 - | impl From<crate::operation::http_enum_payload2::HttpEnumPayload2Error> for Error {
|
184 - | fn from(err: crate::operation::http_enum_payload2::HttpEnumPayload2Error) -> Self {
|
185 - | match err {
|
186 - | crate::operation::http_enum_payload2::HttpEnumPayload2Error::ValidationError(inner) => Error::ValidationError(inner),
|
187 - | crate::operation::http_enum_payload2::HttpEnumPayload2Error::ExtraError(inner) => Error::ExtraError(inner),
|
188 - | crate::operation::http_enum_payload2::HttpEnumPayload2Error::Unhandled(inner) => Error::Unhandled(inner),
|
189 - | }
|
190 - | }
|
191 - | }
|
192 - | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_payload_traits2::HttpPayloadTraits2Error, R>> for Error
|
193 - | where
|
194 - | R: Send + Sync + std::fmt::Debug + 'static,
|
195 - | {
|
196 - | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_payload_traits2::HttpPayloadTraits2Error, R>) -> Self {
|
197 - | match err {
|
198 - | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
199 - | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
200 - | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
201 - | source: err.into(),
|
202 - | }),
|
203 - | }
|
204 - | }
|
205 - | }
|
206 - | impl From<crate::operation::http_payload_traits2::HttpPayloadTraits2Error> for Error {
|
207 - | fn from(err: crate::operation::http_payload_traits2::HttpPayloadTraits2Error) -> Self {
|
208 - | match err {
|
209 - | crate::operation::http_payload_traits2::HttpPayloadTraits2Error::ExtraError(inner) => Error::ExtraError(inner),
|
210 - | crate::operation::http_payload_traits2::HttpPayloadTraits2Error::Unhandled(inner) => Error::Unhandled(inner),
|
211 - | }
|
212 - | }
|
213 - | }
|
214 - | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_string_payload2::HttpStringPayload2Error, R>> for Error
|
215 - | where
|
216 - | R: Send + Sync + std::fmt::Debug + 'static,
|
217 - | {
|
218 - | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_string_payload2::HttpStringPayload2Error, R>) -> Self {
|
219 - | match err {
|
220 - | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
221 - | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
222 - | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
223 - | source: err.into(),
|
224 - | }),
|
225 - | }
|
226 - | }
|
227 - | }
|
228 - | impl From<crate::operation::http_string_payload2::HttpStringPayload2Error> for Error {
|
229 - | fn from(err: crate::operation::http_string_payload2::HttpStringPayload2Error) -> Self {
|
230 - | match err {
|
231 - | crate::operation::http_string_payload2::HttpStringPayload2Error::ExtraError(inner) => Error::ExtraError(inner),
|
232 - | crate::operation::http_string_payload2::HttpStringPayload2Error::Unhandled(inner) => Error::Unhandled(inner),
|
233 - | }
|
234 - | }
|
235 - | }
|
236 - | impl<R>
|
237 - | From<
|
238 - | ::aws_smithy_runtime_api::client::result::SdkError<
|
239 - | crate::operation::malformed_content_type_with_body2::MalformedContentTypeWithBody2Error,
|
240 - | R,
|
241 - | >,
|
242 - | > for Error
|
243 - | where
|
244 - | R: Send + Sync + std::fmt::Debug + 'static,
|
245 - | {
|
246 - | fn from(
|
247 - | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
248 - | crate::operation::malformed_content_type_with_body2::MalformedContentTypeWithBody2Error,
|
249 - | R,
|
250 - | >,
|
251 - | ) -> Self {
|
252 - | match err {
|
253 - | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
254 - | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
255 - | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
256 - | source: err.into(),
|
257 - | }),
|
258 - | }
|
259 - | }
|
260 - | }
|
261 - | impl From<crate::operation::malformed_content_type_with_body2::MalformedContentTypeWithBody2Error> for Error {
|
262 - | fn from(err: crate::operation::malformed_content_type_with_body2::MalformedContentTypeWithBody2Error) -> Self {
|
263 - | match err {
|
264 - | crate::operation::malformed_content_type_with_body2::MalformedContentTypeWithBody2Error::ExtraError(inner) => Error::ExtraError(inner),
|
265 - | crate::operation::malformed_content_type_with_body2::MalformedContentTypeWithBody2Error::Unhandled(inner) => Error::Unhandled(inner),
|
266 - | }
|
267 - | }
|
268 - | }
|
269 169 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::map_with_enum_key_op::MapWithEnumKeyOpError, R>> for Error
|
270 170 | where
|
271 171 | R: Send + Sync + std::fmt::Debug + 'static,
|
272 172 | {
|
273 173 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::map_with_enum_key_op::MapWithEnumKeyOpError, R>) -> Self {
|
274 174 | match err {
|
275 175 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
276 176 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
277 177 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
278 178 | source: err.into(),
|