1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 + | /* ServiceErrorGenerator.kt:252 */
|
2 3 | /// All possible error types for this service.
|
4 + | /* RustType.kt:516 */
|
3 5 | #[non_exhaustive]
|
6 + | /* RustType.kt:516 */
|
4 7 | #[derive(::std::fmt::Debug)]
|
5 - | pub enum Error {
|
6 - | /// This error is thrown when a request is invalid.
|
8 + | pub /* ServiceErrorGenerator.kt:257 */ enum Error {
|
9 + | /// /* ServiceErrorGenerator.kt:259 */This error is thrown when a request is invalid.
|
10 + | /* ServiceErrorGenerator.kt:262 */
|
7 11 | ComplexError(crate::types::error::ComplexError),
|
8 - | /// This error has test cases that test some of the dark corners of Amazon service framework history. It should only be implemented by clients.
|
12 + | /// /* ServiceErrorGenerator.kt:259 */This error has test cases that test some of the dark corners of Amazon service framework history. It should only be implemented by clients.
|
13 + | /* ServiceErrorGenerator.kt:262 */
|
9 14 | FooError(crate::types::error::FooError),
|
10 - | /// This error is thrown when an invalid greeting value is provided.
|
15 + | /// /* ServiceErrorGenerator.kt:259 */This error is thrown when an invalid greeting value is provided.
|
16 + | /* ServiceErrorGenerator.kt:262 */
|
11 17 | InvalidGreeting(crate::types::error::InvalidGreeting),
|
12 - | /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
|
18 + | /// /* ServiceErrorGenerator.kt:264 */An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
|
19 + | /* ServiceErrorGenerator.kt:320 */
|
13 20 | #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
|
14 21 | variable wildcard pattern and check `.code()`:
|
15 22 | \
|
16 23 | `err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
|
17 24 | \
|
18 25 | See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-Error) for what information is available for the error.")]
|
19 - | Unhandled(crate::error::sealed_unhandled::Unhandled),
|
26 + | /* ServiceErrorGenerator.kt:266 */
|
27 + | Unhandled(crate::error::sealed_unhandled::Unhandled), /* ServiceErrorGenerator.kt:257 */
|
20 28 | }
|
29 + | /* ServiceErrorGenerator.kt:131 */
|
21 30 | impl ::std::fmt::Display for Error {
|
31 + | /* ServiceErrorGenerator.kt:132 */
|
22 32 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
33 + | /* ServiceErrorGenerator.kt:133 */
|
23 34 | match self {
|
24 - | Error::ComplexError(inner) => inner.fmt(f),
|
25 - | Error::FooError(inner) => inner.fmt(f),
|
26 - | Error::InvalidGreeting(inner) => inner.fmt(f),
|
35 + | /* ServiceErrorGenerator.kt:135 */ Error::ComplexError(inner) => inner.fmt(f),
|
36 + | /* ServiceErrorGenerator.kt:135 */ Error::FooError(inner) => inner.fmt(f),
|
37 + | /* ServiceErrorGenerator.kt:135 */ Error::InvalidGreeting(inner) => inner.fmt(f),
|
38 + | /* ServiceErrorGenerator.kt:137 */
|
27 39 | Error::Unhandled(_) => {
|
28 40 | if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
|
29 41 | write!(f, "unhandled error ({code})")
|
30 42 | } else {
|
31 43 | f.write_str("unhandled error")
|
32 44 | }
|
45 + | } /* ServiceErrorGenerator.kt:133 */
|
33 46 | }
|
47 + | /* ServiceErrorGenerator.kt:132 */
|
34 48 | }
|
35 - | }
|
49 + | /* ServiceErrorGenerator.kt:131 */
|
36 50 | }
|
51 + | /* ServiceErrorGenerator.kt:154 */
|
37 52 | impl From<::aws_smithy_types::error::operation::BuildError> for Error {
|
38 53 | fn from(value: ::aws_smithy_types::error::operation::BuildError) -> Self {
|
39 54 | Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
40 55 | source: value.into(),
|
41 56 | meta: ::std::default::Default::default(),
|
42 57 | })
|
43 58 | }
|
44 59 | }
|
60 + | /* ServiceErrorGenerator.kt:223 */
|
45 61 | impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for Error {
|
46 62 | fn meta(&self) -> &::aws_smithy_types::error::metadata::ErrorMetadata {
|
47 63 | match self {
|
48 64 | Self::ComplexError(inner) => inner.meta(),
|
49 65 | Self::FooError(inner) => inner.meta(),
|
50 66 | Self::InvalidGreeting(inner) => inner.meta(),
|
51 67 | Self::Unhandled(inner) => &inner.meta,
|
52 68 | }
|
53 69 | }
|
54 70 | }
|
71 + | /* ServiceErrorGenerator.kt:174 */
|
55 72 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::all_query_string_types::AllQueryStringTypesError, R>> for Error
|
56 73 | where
|
57 74 | R: Send + Sync + std::fmt::Debug + 'static,
|
58 75 | {
|
76 + | /* ServiceErrorGenerator.kt:179 */
|
59 77 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::all_query_string_types::AllQueryStringTypesError, R>) -> Self {
|
78 + | /* ServiceErrorGenerator.kt:184 */
|
60 79 | match err {
|
80 + | /* ServiceErrorGenerator.kt:185 */
|
61 81 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
82 + | /* ServiceErrorGenerator.kt:186 */
|
62 83 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
63 84 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
64 85 | source: err.into(),
|
65 86 | }),
|
87 + | /* ServiceErrorGenerator.kt:184 */
|
66 88 | }
|
89 + | /* ServiceErrorGenerator.kt:179 */
|
67 90 | }
|
91 + | /* ServiceErrorGenerator.kt:174 */
|
68 92 | }
|
93 + | /* ServiceErrorGenerator.kt:202 */
|
69 94 | impl From<crate::operation::all_query_string_types::AllQueryStringTypesError> for Error {
|
95 + | /* ServiceErrorGenerator.kt:203 */
|
70 96 | fn from(err: crate::operation::all_query_string_types::AllQueryStringTypesError) -> Self {
|
97 + | /* ServiceErrorGenerator.kt:204 */
|
71 98 | match err {
|
99 + | /* ServiceErrorGenerator.kt:212 */
|
72 100 | crate::operation::all_query_string_types::AllQueryStringTypesError::Unhandled(inner) => Error::Unhandled(inner),
|
101 + | /* ServiceErrorGenerator.kt:204 */
|
73 102 | }
|
103 + | /* ServiceErrorGenerator.kt:203 */
|
74 104 | }
|
105 + | /* ServiceErrorGenerator.kt:202 */
|
75 106 | }
|
107 + | /* ServiceErrorGenerator.kt:174 */
|
76 108 | impl<R>
|
77 109 | From<
|
78 110 | ::aws_smithy_runtime_api::client::result::SdkError<
|
79 111 | crate::operation::constant_and_variable_query_string::ConstantAndVariableQueryStringError,
|
80 112 | R,
|
81 113 | >,
|
82 114 | > for Error
|
83 115 | where
|
84 116 | R: Send + Sync + std::fmt::Debug + 'static,
|
85 117 | {
|
118 + | /* ServiceErrorGenerator.kt:179 */
|
86 119 | fn from(
|
87 120 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
88 121 | crate::operation::constant_and_variable_query_string::ConstantAndVariableQueryStringError,
|
89 122 | R,
|
90 123 | >,
|
91 124 | ) -> Self {
|
125 + | /* ServiceErrorGenerator.kt:184 */
|
92 126 | match err {
|
127 + | /* ServiceErrorGenerator.kt:185 */
|
93 128 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
129 + | /* ServiceErrorGenerator.kt:186 */
|
94 130 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
95 131 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
96 132 | source: err.into(),
|
97 133 | }),
|
134 + | /* ServiceErrorGenerator.kt:184 */
|
98 135 | }
|
136 + | /* ServiceErrorGenerator.kt:179 */
|
99 137 | }
|
138 + | /* ServiceErrorGenerator.kt:174 */
|
100 139 | }
|
140 + | /* ServiceErrorGenerator.kt:202 */
|
101 141 | impl From<crate::operation::constant_and_variable_query_string::ConstantAndVariableQueryStringError> for Error {
|
142 + | /* ServiceErrorGenerator.kt:203 */
|
102 143 | fn from(err: crate::operation::constant_and_variable_query_string::ConstantAndVariableQueryStringError) -> Self {
|
144 + | /* ServiceErrorGenerator.kt:204 */
|
103 145 | match err {
|
146 + | /* ServiceErrorGenerator.kt:212 */
|
104 147 | crate::operation::constant_and_variable_query_string::ConstantAndVariableQueryStringError::Unhandled(inner) => Error::Unhandled(inner),
|
148 + | /* ServiceErrorGenerator.kt:204 */
|
105 149 | }
|
150 + | /* ServiceErrorGenerator.kt:203 */
|
106 151 | }
|
152 + | /* ServiceErrorGenerator.kt:202 */
|
107 153 | }
|
154 + | /* ServiceErrorGenerator.kt:174 */
|
108 155 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::constant_query_string::ConstantQueryStringError, R>> for Error
|
109 156 | where
|
110 157 | R: Send + Sync + std::fmt::Debug + 'static,
|
111 158 | {
|
159 + | /* ServiceErrorGenerator.kt:179 */
|
112 160 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::constant_query_string::ConstantQueryStringError, R>) -> Self {
|
161 + | /* ServiceErrorGenerator.kt:184 */
|
113 162 | match err {
|
163 + | /* ServiceErrorGenerator.kt:185 */
|
114 164 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
165 + | /* ServiceErrorGenerator.kt:186 */
|
115 166 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
116 167 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
117 168 | source: err.into(),
|
118 169 | }),
|
170 + | /* ServiceErrorGenerator.kt:184 */
|
119 171 | }
|
172 + | /* ServiceErrorGenerator.kt:179 */
|
120 173 | }
|
174 + | /* ServiceErrorGenerator.kt:174 */
|
121 175 | }
|
176 + | /* ServiceErrorGenerator.kt:202 */
|
122 177 | impl From<crate::operation::constant_query_string::ConstantQueryStringError> for Error {
|
178 + | /* ServiceErrorGenerator.kt:203 */
|
123 179 | fn from(err: crate::operation::constant_query_string::ConstantQueryStringError) -> Self {
|
180 + | /* ServiceErrorGenerator.kt:204 */
|
124 181 | match err {
|
182 + | /* ServiceErrorGenerator.kt:212 */
|
125 183 | crate::operation::constant_query_string::ConstantQueryStringError::Unhandled(inner) => Error::Unhandled(inner),
|
184 + | /* ServiceErrorGenerator.kt:204 */
|
126 185 | }
|
186 + | /* ServiceErrorGenerator.kt:203 */
|
127 187 | }
|
188 + | /* ServiceErrorGenerator.kt:202 */
|
128 189 | }
|
190 + | /* ServiceErrorGenerator.kt:174 */
|
129 191 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::content_type_parameters::ContentTypeParametersError, R>> for Error
|
130 192 | where
|
131 193 | R: Send + Sync + std::fmt::Debug + 'static,
|
132 194 | {
|
195 + | /* ServiceErrorGenerator.kt:179 */
|
133 196 | fn from(
|
134 197 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::content_type_parameters::ContentTypeParametersError, R>,
|
135 198 | ) -> Self {
|
199 + | /* ServiceErrorGenerator.kt:184 */
|
136 200 | match err {
|
201 + | /* ServiceErrorGenerator.kt:185 */
|
137 202 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
203 + | /* ServiceErrorGenerator.kt:186 */
|
138 204 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
139 205 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
140 206 | source: err.into(),
|
141 207 | }),
|
208 + | /* ServiceErrorGenerator.kt:184 */
|
142 209 | }
|
210 + | /* ServiceErrorGenerator.kt:179 */
|
143 211 | }
|
212 + | /* ServiceErrorGenerator.kt:174 */
|
144 213 | }
|
214 + | /* ServiceErrorGenerator.kt:202 */
|
145 215 | impl From<crate::operation::content_type_parameters::ContentTypeParametersError> for Error {
|
216 + | /* ServiceErrorGenerator.kt:203 */
|
146 217 | fn from(err: crate::operation::content_type_parameters::ContentTypeParametersError) -> Self {
|
218 + | /* ServiceErrorGenerator.kt:204 */
|
147 219 | match err {
|
220 + | /* ServiceErrorGenerator.kt:212 */
|
148 221 | crate::operation::content_type_parameters::ContentTypeParametersError::Unhandled(inner) => Error::Unhandled(inner),
|
222 + | /* ServiceErrorGenerator.kt:204 */
|
149 223 | }
|
224 + | /* ServiceErrorGenerator.kt:203 */
|
150 225 | }
|
226 + | /* ServiceErrorGenerator.kt:202 */
|
151 227 | }
|
228 + | /* ServiceErrorGenerator.kt:174 */
|
152 229 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::datetime_offsets::DatetimeOffsetsError, R>> for Error
|
153 230 | where
|
154 231 | R: Send + Sync + std::fmt::Debug + 'static,
|
155 232 | {
|
233 + | /* ServiceErrorGenerator.kt:179 */
|
156 234 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::datetime_offsets::DatetimeOffsetsError, R>) -> Self {
|
235 + | /* ServiceErrorGenerator.kt:184 */
|
157 236 | match err {
|
237 + | /* ServiceErrorGenerator.kt:185 */
|
158 238 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
239 + | /* ServiceErrorGenerator.kt:186 */
|
159 240 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
160 241 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
161 242 | source: err.into(),
|
162 243 | }),
|
244 + | /* ServiceErrorGenerator.kt:184 */
|
163 245 | }
|
246 + | /* ServiceErrorGenerator.kt:179 */
|
164 247 | }
|
248 + | /* ServiceErrorGenerator.kt:174 */
|
165 249 | }
|
250 + | /* ServiceErrorGenerator.kt:202 */
|
166 251 | impl From<crate::operation::datetime_offsets::DatetimeOffsetsError> for Error {
|
252 + | /* ServiceErrorGenerator.kt:203 */
|
167 253 | fn from(err: crate::operation::datetime_offsets::DatetimeOffsetsError) -> Self {
|
254 + | /* ServiceErrorGenerator.kt:204 */
|
168 255 | match err {
|
256 + | /* ServiceErrorGenerator.kt:212 */
|
169 257 | crate::operation::datetime_offsets::DatetimeOffsetsError::Unhandled(inner) => Error::Unhandled(inner),
|
258 + | /* ServiceErrorGenerator.kt:204 */
|
170 259 | }
|
260 + | /* ServiceErrorGenerator.kt:203 */
|
171 261 | }
|
262 + | /* ServiceErrorGenerator.kt:202 */
|
172 263 | }
|
264 + | /* ServiceErrorGenerator.kt:174 */
|
173 265 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::document_type::DocumentTypeError, R>> for Error
|
174 266 | where
|
175 267 | R: Send + Sync + std::fmt::Debug + 'static,
|
176 268 | {
|
269 + | /* ServiceErrorGenerator.kt:179 */
|
177 270 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::document_type::DocumentTypeError, R>) -> Self {
|
271 + | /* ServiceErrorGenerator.kt:184 */
|
178 272 | match err {
|
273 + | /* ServiceErrorGenerator.kt:185 */
|
179 274 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
275 + | /* ServiceErrorGenerator.kt:186 */
|
180 276 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
181 277 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
182 278 | source: err.into(),
|
183 279 | }),
|
280 + | /* ServiceErrorGenerator.kt:184 */
|
184 281 | }
|
282 + | /* ServiceErrorGenerator.kt:179 */
|
185 283 | }
|
284 + | /* ServiceErrorGenerator.kt:174 */
|
186 285 | }
|
286 + | /* ServiceErrorGenerator.kt:202 */
|
187 287 | impl From<crate::operation::document_type::DocumentTypeError> for Error {
|
288 + | /* ServiceErrorGenerator.kt:203 */
|
188 289 | fn from(err: crate::operation::document_type::DocumentTypeError) -> Self {
|
290 + | /* ServiceErrorGenerator.kt:204 */
|
189 291 | match err {
|
292 + | /* ServiceErrorGenerator.kt:212 */
|
190 293 | crate::operation::document_type::DocumentTypeError::Unhandled(inner) => Error::Unhandled(inner),
|
294 + | /* ServiceErrorGenerator.kt:204 */
|
191 295 | }
|
296 + | /* ServiceErrorGenerator.kt:203 */
|
192 297 | }
|
298 + | /* ServiceErrorGenerator.kt:202 */
|
193 299 | }
|
300 + | /* ServiceErrorGenerator.kt:174 */
|
194 301 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::document_type_as_map_value::DocumentTypeAsMapValueError, R>>
|
195 302 | for Error
|
196 303 | where
|
197 304 | R: Send + Sync + std::fmt::Debug + 'static,
|
198 305 | {
|
306 + | /* ServiceErrorGenerator.kt:179 */
|
199 307 | fn from(
|
200 308 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::document_type_as_map_value::DocumentTypeAsMapValueError, R>,
|
201 309 | ) -> Self {
|
310 + | /* ServiceErrorGenerator.kt:184 */
|
202 311 | match err {
|
312 + | /* ServiceErrorGenerator.kt:185 */
|
203 313 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
314 + | /* ServiceErrorGenerator.kt:186 */
|
204 315 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
205 316 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
206 317 | source: err.into(),
|
207 318 | }),
|
319 + | /* ServiceErrorGenerator.kt:184 */
|
208 320 | }
|
321 + | /* ServiceErrorGenerator.kt:179 */
|
209 322 | }
|
323 + | /* ServiceErrorGenerator.kt:174 */
|
210 324 | }
|
325 + | /* ServiceErrorGenerator.kt:202 */
|
211 326 | impl From<crate::operation::document_type_as_map_value::DocumentTypeAsMapValueError> for Error {
|
327 + | /* ServiceErrorGenerator.kt:203 */
|
212 328 | fn from(err: crate::operation::document_type_as_map_value::DocumentTypeAsMapValueError) -> Self {
|
329 + | /* ServiceErrorGenerator.kt:204 */
|
213 330 | match err {
|
331 + | /* ServiceErrorGenerator.kt:212 */
|
214 332 | crate::operation::document_type_as_map_value::DocumentTypeAsMapValueError::Unhandled(inner) => Error::Unhandled(inner),
|
333 + | /* ServiceErrorGenerator.kt:204 */
|
215 334 | }
|
335 + | /* ServiceErrorGenerator.kt:203 */
|
216 336 | }
|
337 + | /* ServiceErrorGenerator.kt:202 */
|
217 338 | }
|
339 + | /* ServiceErrorGenerator.kt:174 */
|
218 340 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::document_type_as_payload::DocumentTypeAsPayloadError, R>> for Error
|
219 341 | where
|
220 342 | R: Send + Sync + std::fmt::Debug + 'static,
|
221 343 | {
|
344 + | /* ServiceErrorGenerator.kt:179 */
|
222 345 | fn from(
|
223 346 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::document_type_as_payload::DocumentTypeAsPayloadError, R>,
|
224 347 | ) -> Self {
|
348 + | /* ServiceErrorGenerator.kt:184 */
|
225 349 | match err {
|
350 + | /* ServiceErrorGenerator.kt:185 */
|
226 351 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
352 + | /* ServiceErrorGenerator.kt:186 */
|
227 353 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
228 354 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
229 355 | source: err.into(),
|
230 356 | }),
|
357 + | /* ServiceErrorGenerator.kt:184 */
|
231 358 | }
|
359 + | /* ServiceErrorGenerator.kt:179 */
|
232 360 | }
|
361 + | /* ServiceErrorGenerator.kt:174 */
|
233 362 | }
|
363 + | /* ServiceErrorGenerator.kt:202 */
|
234 364 | impl From<crate::operation::document_type_as_payload::DocumentTypeAsPayloadError> for Error {
|
365 + | /* ServiceErrorGenerator.kt:203 */
|
235 366 | fn from(err: crate::operation::document_type_as_payload::DocumentTypeAsPayloadError) -> Self {
|
367 + | /* ServiceErrorGenerator.kt:204 */
|
236 368 | match err {
|
369 + | /* ServiceErrorGenerator.kt:212 */
|
237 370 | crate::operation::document_type_as_payload::DocumentTypeAsPayloadError::Unhandled(inner) => Error::Unhandled(inner),
|
371 + | /* ServiceErrorGenerator.kt:204 */
|
238 372 | }
|
373 + | /* ServiceErrorGenerator.kt:203 */
|
239 374 | }
|
375 + | /* ServiceErrorGenerator.kt:202 */
|
240 376 | }
|
377 + | /* ServiceErrorGenerator.kt:174 */
|
241 378 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::empty_input_and_empty_output::EmptyInputAndEmptyOutputError, R>>
|
242 379 | for Error
|
243 380 | where
|
244 381 | R: Send + Sync + std::fmt::Debug + 'static,
|
245 382 | {
|
383 + | /* ServiceErrorGenerator.kt:179 */
|
246 384 | fn from(
|
247 385 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::empty_input_and_empty_output::EmptyInputAndEmptyOutputError, R>,
|
248 386 | ) -> Self {
|
387 + | /* ServiceErrorGenerator.kt:184 */
|
249 388 | match err {
|
389 + | /* ServiceErrorGenerator.kt:185 */
|
250 390 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
391 + | /* ServiceErrorGenerator.kt:186 */
|
251 392 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
252 393 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
253 394 | source: err.into(),
|
254 395 | }),
|
396 + | /* ServiceErrorGenerator.kt:184 */
|
255 397 | }
|
398 + | /* ServiceErrorGenerator.kt:179 */
|
256 399 | }
|
400 + | /* ServiceErrorGenerator.kt:174 */
|
257 401 | }
|
402 + | /* ServiceErrorGenerator.kt:202 */
|
258 403 | impl From<crate::operation::empty_input_and_empty_output::EmptyInputAndEmptyOutputError> for Error {
|
404 + | /* ServiceErrorGenerator.kt:203 */
|
259 405 | fn from(err: crate::operation::empty_input_and_empty_output::EmptyInputAndEmptyOutputError) -> Self {
|
406 + | /* ServiceErrorGenerator.kt:204 */
|
260 407 | match err {
|
408 + | /* ServiceErrorGenerator.kt:212 */
|
261 409 | crate::operation::empty_input_and_empty_output::EmptyInputAndEmptyOutputError::Unhandled(inner) => Error::Unhandled(inner),
|
410 + | /* ServiceErrorGenerator.kt:204 */
|
262 411 | }
|
412 + | /* ServiceErrorGenerator.kt:203 */
|
263 413 | }
|
414 + | /* ServiceErrorGenerator.kt:202 */
|
264 415 | }
|
416 + | /* ServiceErrorGenerator.kt:174 */
|
265 417 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::endpoint_operation::EndpointOperationError, R>> for Error
|
266 418 | where
|
267 419 | R: Send + Sync + std::fmt::Debug + 'static,
|
268 420 | {
|
421 + | /* ServiceErrorGenerator.kt:179 */
|
269 422 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::endpoint_operation::EndpointOperationError, R>) -> Self {
|
423 + | /* ServiceErrorGenerator.kt:184 */
|
270 424 | match err {
|
425 + | /* ServiceErrorGenerator.kt:185 */
|
271 426 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
427 + | /* ServiceErrorGenerator.kt:186 */
|
272 428 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
273 429 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
274 430 | source: err.into(),
|
275 431 | }),
|
432 + | /* ServiceErrorGenerator.kt:184 */
|
276 433 | }
|
434 + | /* ServiceErrorGenerator.kt:179 */
|
277 435 | }
|
436 + | /* ServiceErrorGenerator.kt:174 */
|
278 437 | }
|
438 + | /* ServiceErrorGenerator.kt:202 */
|
279 439 | impl From<crate::operation::endpoint_operation::EndpointOperationError> for Error {
|
440 + | /* ServiceErrorGenerator.kt:203 */
|
280 441 | fn from(err: crate::operation::endpoint_operation::EndpointOperationError) -> Self {
|
442 + | /* ServiceErrorGenerator.kt:204 */
|
281 443 | match err {
|
444 + | /* ServiceErrorGenerator.kt:212 */
|
282 445 | crate::operation::endpoint_operation::EndpointOperationError::Unhandled(inner) => Error::Unhandled(inner),
|
446 + | /* ServiceErrorGenerator.kt:204 */
|
283 447 | }
|
448 + | /* ServiceErrorGenerator.kt:203 */
|
284 449 | }
|
450 + | /* ServiceErrorGenerator.kt:202 */
|
285 451 | }
|
452 + | /* ServiceErrorGenerator.kt:174 */
|
286 453 | impl<R>
|
287 454 | From<
|
288 455 | ::aws_smithy_runtime_api::client::result::SdkError<
|
289 456 | crate::operation::endpoint_with_host_label_operation::EndpointWithHostLabelOperationError,
|
290 457 | R,
|
291 458 | >,
|
292 459 | > for Error
|
293 460 | where
|
294 461 | R: Send + Sync + std::fmt::Debug + 'static,
|
295 462 | {
|
463 + | /* ServiceErrorGenerator.kt:179 */
|
296 464 | fn from(
|
297 465 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
298 466 | crate::operation::endpoint_with_host_label_operation::EndpointWithHostLabelOperationError,
|
299 467 | R,
|
300 468 | >,
|
301 469 | ) -> Self {
|
470 + | /* ServiceErrorGenerator.kt:184 */
|
302 471 | match err {
|
472 + | /* ServiceErrorGenerator.kt:185 */
|
303 473 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
474 + | /* ServiceErrorGenerator.kt:186 */
|
304 475 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
305 476 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
306 477 | source: err.into(),
|
307 478 | }),
|
479 + | /* ServiceErrorGenerator.kt:184 */
|
308 480 | }
|
481 + | /* ServiceErrorGenerator.kt:179 */
|
309 482 | }
|
483 + | /* ServiceErrorGenerator.kt:174 */
|
310 484 | }
|
485 + | /* ServiceErrorGenerator.kt:202 */
|
311 486 | impl From<crate::operation::endpoint_with_host_label_operation::EndpointWithHostLabelOperationError> for Error {
|
487 + | /* ServiceErrorGenerator.kt:203 */
|
312 488 | fn from(err: crate::operation::endpoint_with_host_label_operation::EndpointWithHostLabelOperationError) -> Self {
|
489 + | /* ServiceErrorGenerator.kt:204 */
|
313 490 | match err {
|
491 + | /* ServiceErrorGenerator.kt:212 */
|
314 492 | crate::operation::endpoint_with_host_label_operation::EndpointWithHostLabelOperationError::Unhandled(inner) => Error::Unhandled(inner),
|
493 + | /* ServiceErrorGenerator.kt:204 */
|
315 494 | }
|
495 + | /* ServiceErrorGenerator.kt:203 */
|
316 496 | }
|
497 + | /* ServiceErrorGenerator.kt:202 */
|
317 498 | }
|
499 + | /* ServiceErrorGenerator.kt:174 */
|
318 500 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::fractional_seconds::FractionalSecondsError, R>> for Error
|
319 501 | where
|
320 502 | R: Send + Sync + std::fmt::Debug + 'static,
|
321 503 | {
|
504 + | /* ServiceErrorGenerator.kt:179 */
|
322 505 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::fractional_seconds::FractionalSecondsError, R>) -> Self {
|
506 + | /* ServiceErrorGenerator.kt:184 */
|
323 507 | match err {
|
508 + | /* ServiceErrorGenerator.kt:185 */
|
324 509 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
510 + | /* ServiceErrorGenerator.kt:186 */
|
325 511 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
326 512 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
327 513 | source: err.into(),
|
328 514 | }),
|
515 + | /* ServiceErrorGenerator.kt:184 */
|
329 516 | }
|
517 + | /* ServiceErrorGenerator.kt:179 */
|
330 518 | }
|
519 + | /* ServiceErrorGenerator.kt:174 */
|
331 520 | }
|
521 + | /* ServiceErrorGenerator.kt:202 */
|
332 522 | impl From<crate::operation::fractional_seconds::FractionalSecondsError> for Error {
|
523 + | /* ServiceErrorGenerator.kt:203 */
|
333 524 | fn from(err: crate::operation::fractional_seconds::FractionalSecondsError) -> Self {
|
525 + | /* ServiceErrorGenerator.kt:204 */
|
334 526 | match err {
|
527 + | /* ServiceErrorGenerator.kt:212 */
|
335 528 | crate::operation::fractional_seconds::FractionalSecondsError::Unhandled(inner) => Error::Unhandled(inner),
|
529 + | /* ServiceErrorGenerator.kt:204 */
|
336 530 | }
|
531 + | /* ServiceErrorGenerator.kt:203 */
|
337 532 | }
|
533 + | /* ServiceErrorGenerator.kt:202 */
|
338 534 | }
|
535 + | /* ServiceErrorGenerator.kt:174 */
|
339 536 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::greeting_with_errors::GreetingWithErrorsError, R>> for Error
|
340 537 | where
|
341 538 | R: Send + Sync + std::fmt::Debug + 'static,
|
342 539 | {
|
540 + | /* ServiceErrorGenerator.kt:179 */
|
343 541 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::greeting_with_errors::GreetingWithErrorsError, R>) -> Self {
|
542 + | /* ServiceErrorGenerator.kt:184 */
|
344 543 | match err {
|
544 + | /* ServiceErrorGenerator.kt:185 */
|
345 545 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
546 + | /* ServiceErrorGenerator.kt:186 */
|
346 547 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
347 548 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
348 549 | source: err.into(),
|
349 550 | }),
|
551 + | /* ServiceErrorGenerator.kt:184 */
|
350 552 | }
|
553 + | /* ServiceErrorGenerator.kt:179 */
|
351 554 | }
|
555 + | /* ServiceErrorGenerator.kt:174 */
|
352 556 | }
|
557 + | /* ServiceErrorGenerator.kt:202 */
|
353 558 | impl From<crate::operation::greeting_with_errors::GreetingWithErrorsError> for Error {
|
559 + | /* ServiceErrorGenerator.kt:203 */
|
354 560 | fn from(err: crate::operation::greeting_with_errors::GreetingWithErrorsError) -> Self {
|
561 + | /* ServiceErrorGenerator.kt:204 */
|
355 562 | match err {
|
563 + | /* ServiceErrorGenerator.kt:207 */
|
356 564 | crate::operation::greeting_with_errors::GreetingWithErrorsError::InvalidGreeting(inner) => Error::InvalidGreeting(inner),
|
565 + | /* ServiceErrorGenerator.kt:207 */
|
357 566 | crate::operation::greeting_with_errors::GreetingWithErrorsError::ComplexError(inner) => Error::ComplexError(inner),
|
567 + | /* ServiceErrorGenerator.kt:207 */
|
358 568 | crate::operation::greeting_with_errors::GreetingWithErrorsError::FooError(inner) => Error::FooError(inner),
|
569 + | /* ServiceErrorGenerator.kt:212 */
|
359 570 | crate::operation::greeting_with_errors::GreetingWithErrorsError::Unhandled(inner) => Error::Unhandled(inner),
|
571 + | /* ServiceErrorGenerator.kt:204 */
|
360 572 | }
|
573 + | /* ServiceErrorGenerator.kt:203 */
|
361 574 | }
|
575 + | /* ServiceErrorGenerator.kt:202 */
|
362 576 | }
|
577 + | /* ServiceErrorGenerator.kt:174 */
|
363 578 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::host_with_path_operation::HostWithPathOperationError, R>> for Error
|
364 579 | where
|
365 580 | R: Send + Sync + std::fmt::Debug + 'static,
|
366 581 | {
|
582 + | /* ServiceErrorGenerator.kt:179 */
|
367 583 | fn from(
|
368 584 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::host_with_path_operation::HostWithPathOperationError, R>,
|
369 585 | ) -> Self {
|
586 + | /* ServiceErrorGenerator.kt:184 */
|
370 587 | match err {
|
588 + | /* ServiceErrorGenerator.kt:185 */
|
371 589 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
590 + | /* ServiceErrorGenerator.kt:186 */
|
372 591 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
373 592 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
374 593 | source: err.into(),
|
375 594 | }),
|
595 + | /* ServiceErrorGenerator.kt:184 */
|
376 596 | }
|
597 + | /* ServiceErrorGenerator.kt:179 */
|
377 598 | }
|
599 + | /* ServiceErrorGenerator.kt:174 */
|
378 600 | }
|
601 + | /* ServiceErrorGenerator.kt:202 */
|
379 602 | impl From<crate::operation::host_with_path_operation::HostWithPathOperationError> for Error {
|
603 + | /* ServiceErrorGenerator.kt:203 */
|
380 604 | fn from(err: crate::operation::host_with_path_operation::HostWithPathOperationError) -> Self {
|
605 + | /* ServiceErrorGenerator.kt:204 */
|
381 606 | match err {
|
607 + | /* ServiceErrorGenerator.kt:212 */
|
382 608 | crate::operation::host_with_path_operation::HostWithPathOperationError::Unhandled(inner) => Error::Unhandled(inner),
|
609 + | /* ServiceErrorGenerator.kt:204 */
|
383 610 | }
|
611 + | /* ServiceErrorGenerator.kt:203 */
|
384 612 | }
|
613 + | /* ServiceErrorGenerator.kt:202 */
|
385 614 | }
|
615 + | /* ServiceErrorGenerator.kt:174 */
|
386 616 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_checksum_required::HttpChecksumRequiredError, R>> for Error
|
387 617 | where
|
388 618 | R: Send + Sync + std::fmt::Debug + 'static,
|
389 619 | {
|
620 + | /* ServiceErrorGenerator.kt:179 */
|
390 621 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_checksum_required::HttpChecksumRequiredError, R>) -> Self {
|
622 + | /* ServiceErrorGenerator.kt:184 */
|
391 623 | match err {
|
624 + | /* ServiceErrorGenerator.kt:185 */
|
392 625 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
626 + | /* ServiceErrorGenerator.kt:186 */
|
393 627 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
394 628 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
395 629 | source: err.into(),
|
396 630 | }),
|
631 + | /* ServiceErrorGenerator.kt:184 */
|
397 632 | }
|
633 + | /* ServiceErrorGenerator.kt:179 */
|
398 634 | }
|
635 + | /* ServiceErrorGenerator.kt:174 */
|
399 636 | }
|
637 + | /* ServiceErrorGenerator.kt:202 */
|
400 638 | impl From<crate::operation::http_checksum_required::HttpChecksumRequiredError> for Error {
|
639 + | /* ServiceErrorGenerator.kt:203 */
|
401 640 | fn from(err: crate::operation::http_checksum_required::HttpChecksumRequiredError) -> Self {
|
641 + | /* ServiceErrorGenerator.kt:204 */
|
402 642 | match err {
|
643 + | /* ServiceErrorGenerator.kt:212 */
|
403 644 | crate::operation::http_checksum_required::HttpChecksumRequiredError::Unhandled(inner) => Error::Unhandled(inner),
|
645 + | /* ServiceErrorGenerator.kt:204 */
|
404 646 | }
|
647 + | /* ServiceErrorGenerator.kt:203 */
|
405 648 | }
|
649 + | /* ServiceErrorGenerator.kt:202 */
|
406 650 | }
|
651 + | /* ServiceErrorGenerator.kt:174 */
|
407 652 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_enum_payload::HttpEnumPayloadError, R>> for Error
|
408 653 | where
|
409 654 | R: Send + Sync + std::fmt::Debug + 'static,
|
410 655 | {
|
656 + | /* ServiceErrorGenerator.kt:179 */
|
411 657 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_enum_payload::HttpEnumPayloadError, R>) -> Self {
|
658 + | /* ServiceErrorGenerator.kt:184 */
|
412 659 | match err {
|
660 + | /* ServiceErrorGenerator.kt:185 */
|
413 661 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
662 + | /* ServiceErrorGenerator.kt:186 */
|
414 663 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
415 664 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
416 665 | source: err.into(),
|
417 666 | }),
|
667 + | /* ServiceErrorGenerator.kt:184 */
|
418 668 | }
|
669 + | /* ServiceErrorGenerator.kt:179 */
|
419 670 | }
|
671 + | /* ServiceErrorGenerator.kt:174 */
|
420 672 | }
|
673 + | /* ServiceErrorGenerator.kt:202 */
|
421 674 | impl From<crate::operation::http_enum_payload::HttpEnumPayloadError> for Error {
|
675 + | /* ServiceErrorGenerator.kt:203 */
|
422 676 | fn from(err: crate::operation::http_enum_payload::HttpEnumPayloadError) -> Self {
|
677 + | /* ServiceErrorGenerator.kt:204 */
|
423 678 | match err {
|
679 + | /* ServiceErrorGenerator.kt:212 */
|
424 680 | crate::operation::http_enum_payload::HttpEnumPayloadError::Unhandled(inner) => Error::Unhandled(inner),
|
681 + | /* ServiceErrorGenerator.kt:204 */
|
425 682 | }
|
683 + | /* ServiceErrorGenerator.kt:203 */
|
426 684 | }
|
685 + | /* ServiceErrorGenerator.kt:202 */
|
427 686 | }
|
687 + | /* ServiceErrorGenerator.kt:174 */
|
428 688 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_payload_traits::HttpPayloadTraitsError, R>> for Error
|
429 689 | where
|
430 690 | R: Send + Sync + std::fmt::Debug + 'static,
|
431 691 | {
|
692 + | /* ServiceErrorGenerator.kt:179 */
|
432 693 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_payload_traits::HttpPayloadTraitsError, R>) -> Self {
|
694 + | /* ServiceErrorGenerator.kt:184 */
|
433 695 | match err {
|
696 + | /* ServiceErrorGenerator.kt:185 */
|
434 697 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
698 + | /* ServiceErrorGenerator.kt:186 */
|
435 699 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
436 700 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
437 701 | source: err.into(),
|
438 702 | }),
|
703 + | /* ServiceErrorGenerator.kt:184 */
|
439 704 | }
|
705 + | /* ServiceErrorGenerator.kt:179 */
|
440 706 | }
|
707 + | /* ServiceErrorGenerator.kt:174 */
|
441 708 | }
|
709 + | /* ServiceErrorGenerator.kt:202 */
|
442 710 | impl From<crate::operation::http_payload_traits::HttpPayloadTraitsError> for Error {
|
711 + | /* ServiceErrorGenerator.kt:203 */
|
443 712 | fn from(err: crate::operation::http_payload_traits::HttpPayloadTraitsError) -> Self {
|
713 + | /* ServiceErrorGenerator.kt:204 */
|
444 714 | match err {
|
715 + | /* ServiceErrorGenerator.kt:212 */
|
445 716 | crate::operation::http_payload_traits::HttpPayloadTraitsError::Unhandled(inner) => Error::Unhandled(inner),
|
717 + | /* ServiceErrorGenerator.kt:204 */
|
446 718 | }
|
719 + | /* ServiceErrorGenerator.kt:203 */
|
447 720 | }
|
721 + | /* ServiceErrorGenerator.kt:202 */
|
448 722 | }
|
723 + | /* ServiceErrorGenerator.kt:174 */
|
449 724 | impl<R>
|
450 725 | From<
|
451 726 | ::aws_smithy_runtime_api::client::result::SdkError<
|
452 727 | crate::operation::http_payload_traits_with_media_type::HttpPayloadTraitsWithMediaTypeError,
|
453 728 | R,
|
454 729 | >,
|
455 730 | > for Error
|
456 731 | where
|
457 732 | R: Send + Sync + std::fmt::Debug + 'static,
|
458 733 | {
|
734 + | /* ServiceErrorGenerator.kt:179 */
|
459 735 | fn from(
|
460 736 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
461 737 | crate::operation::http_payload_traits_with_media_type::HttpPayloadTraitsWithMediaTypeError,
|
462 738 | R,
|
463 739 | >,
|
464 740 | ) -> Self {
|
741 + | /* ServiceErrorGenerator.kt:184 */
|
465 742 | match err {
|
743 + | /* ServiceErrorGenerator.kt:185 */
|
466 744 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
745 + | /* ServiceErrorGenerator.kt:186 */
|
467 746 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
468 747 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
469 748 | source: err.into(),
|
470 749 | }),
|
750 + | /* ServiceErrorGenerator.kt:184 */
|
471 751 | }
|
752 + | /* ServiceErrorGenerator.kt:179 */
|
472 753 | }
|
754 + | /* ServiceErrorGenerator.kt:174 */
|
473 755 | }
|
756 + | /* ServiceErrorGenerator.kt:202 */
|
474 757 | impl From<crate::operation::http_payload_traits_with_media_type::HttpPayloadTraitsWithMediaTypeError> for Error {
|
758 + | /* ServiceErrorGenerator.kt:203 */
|
475 759 | fn from(err: crate::operation::http_payload_traits_with_media_type::HttpPayloadTraitsWithMediaTypeError) -> Self {
|
760 + | /* ServiceErrorGenerator.kt:204 */
|
476 761 | match err {
|
762 + | /* ServiceErrorGenerator.kt:212 */
|
477 763 | crate::operation::http_payload_traits_with_media_type::HttpPayloadTraitsWithMediaTypeError::Unhandled(inner) => Error::Unhandled(inner),
|
764 + | /* ServiceErrorGenerator.kt:204 */
|
478 765 | }
|
766 + | /* ServiceErrorGenerator.kt:203 */
|
479 767 | }
|
768 + | /* ServiceErrorGenerator.kt:202 */
|
480 769 | }
|
770 + | /* ServiceErrorGenerator.kt:174 */
|
481 771 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_payload_with_structure::HttpPayloadWithStructureError, R>>
|
482 772 | for Error
|
483 773 | where
|
484 774 | R: Send + Sync + std::fmt::Debug + 'static,
|
485 775 | {
|
776 + | /* ServiceErrorGenerator.kt:179 */
|
486 777 | fn from(
|
487 778 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_payload_with_structure::HttpPayloadWithStructureError, R>,
|
488 779 | ) -> Self {
|
780 + | /* ServiceErrorGenerator.kt:184 */
|
489 781 | match err {
|
782 + | /* ServiceErrorGenerator.kt:185 */
|
490 783 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
784 + | /* ServiceErrorGenerator.kt:186 */
|
491 785 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
492 786 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
493 787 | source: err.into(),
|
494 788 | }),
|
789 + | /* ServiceErrorGenerator.kt:184 */
|
495 790 | }
|
791 + | /* ServiceErrorGenerator.kt:179 */
|
496 792 | }
|
793 + | /* ServiceErrorGenerator.kt:174 */
|
497 794 | }
|
795 + | /* ServiceErrorGenerator.kt:202 */
|
498 796 | impl From<crate::operation::http_payload_with_structure::HttpPayloadWithStructureError> for Error {
|
797 + | /* ServiceErrorGenerator.kt:203 */
|
499 798 | fn from(err: crate::operation::http_payload_with_structure::HttpPayloadWithStructureError) -> Self {
|
799 + | /* ServiceErrorGenerator.kt:204 */
|
500 800 | match err {
|
801 + | /* ServiceErrorGenerator.kt:212 */
|
501 802 | crate::operation::http_payload_with_structure::HttpPayloadWithStructureError::Unhandled(inner) => Error::Unhandled(inner),
|
803 + | /* ServiceErrorGenerator.kt:204 */
|
502 804 | }
|
805 + | /* ServiceErrorGenerator.kt:203 */
|
503 806 | }
|
807 + | /* ServiceErrorGenerator.kt:202 */
|
504 808 | }
|
809 + | /* ServiceErrorGenerator.kt:174 */
|
505 810 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_payload_with_union::HttpPayloadWithUnionError, R>> for Error
|
506 811 | where
|
507 812 | R: Send + Sync + std::fmt::Debug + 'static,
|
508 813 | {
|
814 + | /* ServiceErrorGenerator.kt:179 */
|
509 815 | fn from(
|
510 816 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_payload_with_union::HttpPayloadWithUnionError, R>,
|
511 817 | ) -> Self {
|
818 + | /* ServiceErrorGenerator.kt:184 */
|
512 819 | match err {
|
820 + | /* ServiceErrorGenerator.kt:185 */
|
513 821 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
822 + | /* ServiceErrorGenerator.kt:186 */
|
514 823 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
515 824 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
516 825 | source: err.into(),
|
517 826 | }),
|
827 + | /* ServiceErrorGenerator.kt:184 */
|
518 828 | }
|
829 + | /* ServiceErrorGenerator.kt:179 */
|
519 830 | }
|
831 + | /* ServiceErrorGenerator.kt:174 */
|
520 832 | }
|
833 + | /* ServiceErrorGenerator.kt:202 */
|
521 834 | impl From<crate::operation::http_payload_with_union::HttpPayloadWithUnionError> for Error {
|
835 + | /* ServiceErrorGenerator.kt:203 */
|
522 836 | fn from(err: crate::operation::http_payload_with_union::HttpPayloadWithUnionError) -> Self {
|
837 + | /* ServiceErrorGenerator.kt:204 */
|
523 838 | match err {
|
839 + | /* ServiceErrorGenerator.kt:212 */
|
524 840 | crate::operation::http_payload_with_union::HttpPayloadWithUnionError::Unhandled(inner) => Error::Unhandled(inner),
|
841 + | /* ServiceErrorGenerator.kt:204 */
|
525 842 | }
|
843 + | /* ServiceErrorGenerator.kt:203 */
|
526 844 | }
|
845 + | /* ServiceErrorGenerator.kt:202 */
|
527 846 | }
|
847 + | /* ServiceErrorGenerator.kt:174 */
|
528 848 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_prefix_headers::HttpPrefixHeadersError, R>> for Error
|
529 849 | where
|
530 850 | R: Send + Sync + std::fmt::Debug + 'static,
|
531 851 | {
|
852 + | /* ServiceErrorGenerator.kt:179 */
|
532 853 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_prefix_headers::HttpPrefixHeadersError, R>) -> Self {
|
854 + | /* ServiceErrorGenerator.kt:184 */
|
533 855 | match err {
|
856 + | /* ServiceErrorGenerator.kt:185 */
|
534 857 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
858 + | /* ServiceErrorGenerator.kt:186 */
|
535 859 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
536 860 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
537 861 | source: err.into(),
|
538 862 | }),
|
863 + | /* ServiceErrorGenerator.kt:184 */
|
539 864 | }
|
865 + | /* ServiceErrorGenerator.kt:179 */
|
540 866 | }
|
867 + | /* ServiceErrorGenerator.kt:174 */
|
541 868 | }
|
869 + | /* ServiceErrorGenerator.kt:202 */
|
542 870 | impl From<crate::operation::http_prefix_headers::HttpPrefixHeadersError> for Error {
|
871 + | /* ServiceErrorGenerator.kt:203 */
|
543 872 | fn from(err: crate::operation::http_prefix_headers::HttpPrefixHeadersError) -> Self {
|
873 + | /* ServiceErrorGenerator.kt:204 */
|
544 874 | match err {
|
875 + | /* ServiceErrorGenerator.kt:212 */
|
545 876 | crate::operation::http_prefix_headers::HttpPrefixHeadersError::Unhandled(inner) => Error::Unhandled(inner),
|
877 + | /* ServiceErrorGenerator.kt:204 */
|
546 878 | }
|
879 + | /* ServiceErrorGenerator.kt:203 */
|
547 880 | }
|
881 + | /* ServiceErrorGenerator.kt:202 */
|
548 882 | }
|
883 + | /* ServiceErrorGenerator.kt:174 */
|
549 884 | impl<R>
|
550 885 | From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_prefix_headers_in_response::HttpPrefixHeadersInResponseError, R>>
|
551 886 | for Error
|
552 887 | where
|
553 888 | R: Send + Sync + std::fmt::Debug + 'static,
|
554 889 | {
|
890 + | /* ServiceErrorGenerator.kt:179 */
|
555 891 | fn from(
|
556 892 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
557 893 | crate::operation::http_prefix_headers_in_response::HttpPrefixHeadersInResponseError,
|
558 894 | R,
|
559 895 | >,
|
560 896 | ) -> Self {
|
897 + | /* ServiceErrorGenerator.kt:184 */
|
561 898 | match err {
|
899 + | /* ServiceErrorGenerator.kt:185 */
|
562 900 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
901 + | /* ServiceErrorGenerator.kt:186 */
|
563 902 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
564 903 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
565 904 | source: err.into(),
|
566 905 | }),
|
906 + | /* ServiceErrorGenerator.kt:184 */
|
567 907 | }
|
908 + | /* ServiceErrorGenerator.kt:179 */
|
568 909 | }
|
910 + | /* ServiceErrorGenerator.kt:174 */
|
569 911 | }
|
912 + | /* ServiceErrorGenerator.kt:202 */
|
570 913 | impl From<crate::operation::http_prefix_headers_in_response::HttpPrefixHeadersInResponseError> for Error {
|
914 + | /* ServiceErrorGenerator.kt:203 */
|
571 915 | fn from(err: crate::operation::http_prefix_headers_in_response::HttpPrefixHeadersInResponseError) -> Self {
|
916 + | /* ServiceErrorGenerator.kt:204 */
|
572 917 | match err {
|
918 + | /* ServiceErrorGenerator.kt:212 */
|
573 919 | crate::operation::http_prefix_headers_in_response::HttpPrefixHeadersInResponseError::Unhandled(inner) => Error::Unhandled(inner),
|
920 + | /* ServiceErrorGenerator.kt:204 */
|
574 921 | }
|
922 + | /* ServiceErrorGenerator.kt:203 */
|
575 923 | }
|
924 + | /* ServiceErrorGenerator.kt:202 */
|
576 925 | }
|
926 + | /* ServiceErrorGenerator.kt:174 */
|
577 927 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_request_with_float_labels::HttpRequestWithFloatLabelsError, R>>
|
578 928 | for Error
|
579 929 | where
|
580 930 | R: Send + Sync + std::fmt::Debug + 'static,
|
581 931 | {
|
932 + | /* ServiceErrorGenerator.kt:179 */
|
582 933 | fn from(
|
583 934 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_request_with_float_labels::HttpRequestWithFloatLabelsError, R>,
|
584 935 | ) -> Self {
|
936 + | /* ServiceErrorGenerator.kt:184 */
|
585 937 | match err {
|
938 + | /* ServiceErrorGenerator.kt:185 */
|
586 939 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
940 + | /* ServiceErrorGenerator.kt:186 */
|
587 941 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
588 942 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
589 943 | source: err.into(),
|
590 944 | }),
|
945 + | /* ServiceErrorGenerator.kt:184 */
|
591 946 | }
|
947 + | /* ServiceErrorGenerator.kt:179 */
|
592 948 | }
|
949 + | /* ServiceErrorGenerator.kt:174 */
|
593 950 | }
|
951 + | /* ServiceErrorGenerator.kt:202 */
|
594 952 | impl From<crate::operation::http_request_with_float_labels::HttpRequestWithFloatLabelsError> for Error {
|
953 + | /* ServiceErrorGenerator.kt:203 */
|
595 954 | fn from(err: crate::operation::http_request_with_float_labels::HttpRequestWithFloatLabelsError) -> Self {
|
955 + | /* ServiceErrorGenerator.kt:204 */
|
596 956 | match err {
|
957 + | /* ServiceErrorGenerator.kt:212 */
|
597 958 | crate::operation::http_request_with_float_labels::HttpRequestWithFloatLabelsError::Unhandled(inner) => Error::Unhandled(inner),
|
959 + | /* ServiceErrorGenerator.kt:204 */
|
598 960 | }
|
961 + | /* ServiceErrorGenerator.kt:203 */
|
599 962 | }
|
963 + | /* ServiceErrorGenerator.kt:202 */
|
600 964 | }
|
965 + | /* ServiceErrorGenerator.kt:174 */
|
601 966 | impl<R>
|
602 967 | From<
|
603 968 | ::aws_smithy_runtime_api::client::result::SdkError<
|
604 969 | crate::operation::http_request_with_greedy_label_in_path::HttpRequestWithGreedyLabelInPathError,
|
605 970 | R,
|
606 971 | >,
|
607 972 | > for Error
|
608 973 | where
|
609 974 | R: Send + Sync + std::fmt::Debug + 'static,
|
610 975 | {
|
976 + | /* ServiceErrorGenerator.kt:179 */
|
611 977 | fn from(
|
612 978 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
613 979 | crate::operation::http_request_with_greedy_label_in_path::HttpRequestWithGreedyLabelInPathError,
|
614 980 | R,
|
615 981 | >,
|
616 982 | ) -> Self {
|
983 + | /* ServiceErrorGenerator.kt:184 */
|
617 984 | match err {
|
985 + | /* ServiceErrorGenerator.kt:185 */
|
618 986 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
987 + | /* ServiceErrorGenerator.kt:186 */
|
619 988 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
620 989 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
621 990 | source: err.into(),
|
622 991 | }),
|
992 + | /* ServiceErrorGenerator.kt:184 */
|
623 993 | }
|
994 + | /* ServiceErrorGenerator.kt:179 */
|
624 995 | }
|
996 + | /* ServiceErrorGenerator.kt:174 */
|
625 997 | }
|
998 + | /* ServiceErrorGenerator.kt:202 */
|
626 999 | impl From<crate::operation::http_request_with_greedy_label_in_path::HttpRequestWithGreedyLabelInPathError> for Error {
|
1000 + | /* ServiceErrorGenerator.kt:203 */
|
627 1001 | fn from(err: crate::operation::http_request_with_greedy_label_in_path::HttpRequestWithGreedyLabelInPathError) -> Self {
|
1002 + | /* ServiceErrorGenerator.kt:204 */
|
628 1003 | match err {
|
1004 + | /* ServiceErrorGenerator.kt:212 */
|
629 1005 | crate::operation::http_request_with_greedy_label_in_path::HttpRequestWithGreedyLabelInPathError::Unhandled(inner) => {
|
630 1006 | Error::Unhandled(inner)
|
631 1007 | }
|
1008 + | /* ServiceErrorGenerator.kt:204 */
|
632 1009 | }
|
1010 + | /* ServiceErrorGenerator.kt:203 */
|
633 1011 | }
|
1012 + | /* ServiceErrorGenerator.kt:202 */
|
634 1013 | }
|
1014 + | /* ServiceErrorGenerator.kt:174 */
|
635 1015 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_request_with_labels::HttpRequestWithLabelsError, R>> for Error
|
636 1016 | where
|
637 1017 | R: Send + Sync + std::fmt::Debug + 'static,
|
638 1018 | {
|
1019 + | /* ServiceErrorGenerator.kt:179 */
|
639 1020 | fn from(
|
640 1021 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_request_with_labels::HttpRequestWithLabelsError, R>,
|
641 1022 | ) -> Self {
|
1023 + | /* ServiceErrorGenerator.kt:184 */
|
642 1024 | match err {
|
1025 + | /* ServiceErrorGenerator.kt:185 */
|
643 1026 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1027 + | /* ServiceErrorGenerator.kt:186 */
|
644 1028 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
645 1029 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
646 1030 | source: err.into(),
|
647 1031 | }),
|
1032 + | /* ServiceErrorGenerator.kt:184 */
|
648 1033 | }
|
1034 + | /* ServiceErrorGenerator.kt:179 */
|
649 1035 | }
|
1036 + | /* ServiceErrorGenerator.kt:174 */
|
650 1037 | }
|
1038 + | /* ServiceErrorGenerator.kt:202 */
|
651 1039 | impl From<crate::operation::http_request_with_labels::HttpRequestWithLabelsError> for Error {
|
1040 + | /* ServiceErrorGenerator.kt:203 */
|
652 1041 | fn from(err: crate::operation::http_request_with_labels::HttpRequestWithLabelsError) -> Self {
|
1042 + | /* ServiceErrorGenerator.kt:204 */
|
653 1043 | match err {
|
1044 + | /* ServiceErrorGenerator.kt:212 */
|
654 1045 | crate::operation::http_request_with_labels::HttpRequestWithLabelsError::Unhandled(inner) => Error::Unhandled(inner),
|
1046 + | /* ServiceErrorGenerator.kt:204 */
|
655 1047 | }
|
1048 + | /* ServiceErrorGenerator.kt:203 */
|
656 1049 | }
|
1050 + | /* ServiceErrorGenerator.kt:202 */
|
657 1051 | }
|
1052 + | /* ServiceErrorGenerator.kt:174 */
|
658 1053 | impl<R>
|
659 1054 | From<
|
660 1055 | ::aws_smithy_runtime_api::client::result::SdkError<
|
661 1056 | crate::operation::http_request_with_labels_and_timestamp_format::HttpRequestWithLabelsAndTimestampFormatError,
|
662 1057 | R,
|
663 1058 | >,
|
664 1059 | > for Error
|
665 1060 | where
|
666 1061 | R: Send + Sync + std::fmt::Debug + 'static,
|
667 1062 | {
|
1063 + | /* ServiceErrorGenerator.kt:179 */
|
668 1064 | fn from(
|
669 1065 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
670 1066 | crate::operation::http_request_with_labels_and_timestamp_format::HttpRequestWithLabelsAndTimestampFormatError,
|
671 1067 | R,
|
672 1068 | >,
|
673 1069 | ) -> Self {
|
1070 + | /* ServiceErrorGenerator.kt:184 */
|
674 1071 | match err {
|
1072 + | /* ServiceErrorGenerator.kt:185 */
|
675 1073 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1074 + | /* ServiceErrorGenerator.kt:186 */
|
676 1075 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
677 1076 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
678 1077 | source: err.into(),
|
679 1078 | }),
|
1079 + | /* ServiceErrorGenerator.kt:184 */
|
680 1080 | }
|
1081 + | /* ServiceErrorGenerator.kt:179 */
|
681 1082 | }
|
1083 + | /* ServiceErrorGenerator.kt:174 */
|
682 1084 | }
|
1085 + | /* ServiceErrorGenerator.kt:202 */
|
683 1086 | impl From<crate::operation::http_request_with_labels_and_timestamp_format::HttpRequestWithLabelsAndTimestampFormatError> for Error {
|
1087 + | /* ServiceErrorGenerator.kt:203 */
|
684 1088 | fn from(err: crate::operation::http_request_with_labels_and_timestamp_format::HttpRequestWithLabelsAndTimestampFormatError) -> Self {
|
1089 + | /* ServiceErrorGenerator.kt:204 */
|
685 1090 | match err {
|
1091 + | /* ServiceErrorGenerator.kt:212 */
|
686 1092 | crate::operation::http_request_with_labels_and_timestamp_format::HttpRequestWithLabelsAndTimestampFormatError::Unhandled(inner) => {
|
687 1093 | Error::Unhandled(inner)
|
688 1094 | }
|
1095 + | /* ServiceErrorGenerator.kt:204 */
|
689 1096 | }
|
1097 + | /* ServiceErrorGenerator.kt:203 */
|
690 1098 | }
|
1099 + | /* ServiceErrorGenerator.kt:202 */
|
691 1100 | }
|
1101 + | /* ServiceErrorGenerator.kt:174 */
|
692 1102 | impl<R>
|
693 1103 | From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_request_with_regex_literal::HttpRequestWithRegexLiteralError, R>>
|
694 1104 | for Error
|
695 1105 | where
|
696 1106 | R: Send + Sync + std::fmt::Debug + 'static,
|
697 1107 | {
|
1108 + | /* ServiceErrorGenerator.kt:179 */
|
698 1109 | fn from(
|
699 1110 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
700 1111 | crate::operation::http_request_with_regex_literal::HttpRequestWithRegexLiteralError,
|
701 1112 | R,
|
702 1113 | >,
|
703 1114 | ) -> Self {
|
1115 + | /* ServiceErrorGenerator.kt:184 */
|
704 1116 | match err {
|
1117 + | /* ServiceErrorGenerator.kt:185 */
|
705 1118 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1119 + | /* ServiceErrorGenerator.kt:186 */
|
706 1120 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
707 1121 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
708 1122 | source: err.into(),
|
709 1123 | }),
|
1124 + | /* ServiceErrorGenerator.kt:184 */
|
710 1125 | }
|
1126 + | /* ServiceErrorGenerator.kt:179 */
|
711 1127 | }
|
1128 + | /* ServiceErrorGenerator.kt:174 */
|
712 1129 | }
|
1130 + | /* ServiceErrorGenerator.kt:202 */
|
713 1131 | impl From<crate::operation::http_request_with_regex_literal::HttpRequestWithRegexLiteralError> for Error {
|
1132 + | /* ServiceErrorGenerator.kt:203 */
|
714 1133 | fn from(err: crate::operation::http_request_with_regex_literal::HttpRequestWithRegexLiteralError) -> Self {
|
1134 + | /* ServiceErrorGenerator.kt:204 */
|
715 1135 | match err {
|
1136 + | /* ServiceErrorGenerator.kt:212 */
|
716 1137 | crate::operation::http_request_with_regex_literal::HttpRequestWithRegexLiteralError::Unhandled(inner) => Error::Unhandled(inner),
|
1138 + | /* ServiceErrorGenerator.kt:204 */
|
717 1139 | }
|
1140 + | /* ServiceErrorGenerator.kt:203 */
|
718 1141 | }
|
1142 + | /* ServiceErrorGenerator.kt:202 */
|
719 1143 | }
|
1144 + | /* ServiceErrorGenerator.kt:174 */
|
720 1145 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_response_code::HttpResponseCodeError, R>> for Error
|
721 1146 | where
|
722 1147 | R: Send + Sync + std::fmt::Debug + 'static,
|
723 1148 | {
|
1149 + | /* ServiceErrorGenerator.kt:179 */
|
724 1150 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_response_code::HttpResponseCodeError, R>) -> Self {
|
1151 + | /* ServiceErrorGenerator.kt:184 */
|
725 1152 | match err {
|
1153 + | /* ServiceErrorGenerator.kt:185 */
|
726 1154 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1155 + | /* ServiceErrorGenerator.kt:186 */
|
727 1156 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
728 1157 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
729 1158 | source: err.into(),
|
730 1159 | }),
|
1160 + | /* ServiceErrorGenerator.kt:184 */
|
731 1161 | }
|
1162 + | /* ServiceErrorGenerator.kt:179 */
|
732 1163 | }
|
1164 + | /* ServiceErrorGenerator.kt:174 */
|
733 1165 | }
|
1166 + | /* ServiceErrorGenerator.kt:202 */
|
734 1167 | impl From<crate::operation::http_response_code::HttpResponseCodeError> for Error {
|
1168 + | /* ServiceErrorGenerator.kt:203 */
|
735 1169 | fn from(err: crate::operation::http_response_code::HttpResponseCodeError) -> Self {
|
1170 + | /* ServiceErrorGenerator.kt:204 */
|
736 1171 | match err {
|
1172 + | /* ServiceErrorGenerator.kt:212 */
|
737 1173 | crate::operation::http_response_code::HttpResponseCodeError::Unhandled(inner) => Error::Unhandled(inner),
|
1174 + | /* ServiceErrorGenerator.kt:204 */
|
738 1175 | }
|
1176 + | /* ServiceErrorGenerator.kt:203 */
|
739 1177 | }
|
1178 + | /* ServiceErrorGenerator.kt:202 */
|
740 1179 | }
|
1180 + | /* ServiceErrorGenerator.kt:174 */
|
741 1181 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_string_payload::HttpStringPayloadError, R>> for Error
|
742 1182 | where
|
743 1183 | R: Send + Sync + std::fmt::Debug + 'static,
|
744 1184 | {
|
1185 + | /* ServiceErrorGenerator.kt:179 */
|
745 1186 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_string_payload::HttpStringPayloadError, R>) -> Self {
|
1187 + | /* ServiceErrorGenerator.kt:184 */
|
746 1188 | match err {
|
1189 + | /* ServiceErrorGenerator.kt:185 */
|
747 1190 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1191 + | /* ServiceErrorGenerator.kt:186 */
|
748 1192 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
749 1193 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
750 1194 | source: err.into(),
|
751 1195 | }),
|
1196 + | /* ServiceErrorGenerator.kt:184 */
|
752 1197 | }
|
1198 + | /* ServiceErrorGenerator.kt:179 */
|
753 1199 | }
|
1200 + | /* ServiceErrorGenerator.kt:174 */
|
754 1201 | }
|
1202 + | /* ServiceErrorGenerator.kt:202 */
|
755 1203 | impl From<crate::operation::http_string_payload::HttpStringPayloadError> for Error {
|
1204 + | /* ServiceErrorGenerator.kt:203 */
|
756 1205 | fn from(err: crate::operation::http_string_payload::HttpStringPayloadError) -> Self {
|
1206 + | /* ServiceErrorGenerator.kt:204 */
|
757 1207 | match err {
|
1208 + | /* ServiceErrorGenerator.kt:212 */
|
758 1209 | crate::operation::http_string_payload::HttpStringPayloadError::Unhandled(inner) => Error::Unhandled(inner),
|
1210 + | /* ServiceErrorGenerator.kt:204 */
|
759 1211 | }
|
1212 + | /* ServiceErrorGenerator.kt:203 */
|
760 1213 | }
|
1214 + | /* ServiceErrorGenerator.kt:202 */
|
761 1215 | }
|
1216 + | /* ServiceErrorGenerator.kt:174 */
|
762 1217 | impl<R>
|
763 1218 | From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::ignore_query_params_in_response::IgnoreQueryParamsInResponseError, R>>
|
764 1219 | for Error
|
765 1220 | where
|
766 1221 | R: Send + Sync + std::fmt::Debug + 'static,
|
767 1222 | {
|
1223 + | /* ServiceErrorGenerator.kt:179 */
|
768 1224 | fn from(
|
769 1225 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
770 1226 | crate::operation::ignore_query_params_in_response::IgnoreQueryParamsInResponseError,
|
771 1227 | R,
|
772 1228 | >,
|
773 1229 | ) -> Self {
|
1230 + | /* ServiceErrorGenerator.kt:184 */
|
774 1231 | match err {
|
1232 + | /* ServiceErrorGenerator.kt:185 */
|
775 1233 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1234 + | /* ServiceErrorGenerator.kt:186 */
|
776 1235 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
777 1236 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
778 1237 | source: err.into(),
|
779 1238 | }),
|
1239 + | /* ServiceErrorGenerator.kt:184 */
|
780 1240 | }
|
1241 + | /* ServiceErrorGenerator.kt:179 */
|
781 1242 | }
|
1243 + | /* ServiceErrorGenerator.kt:174 */
|
782 1244 | }
|
1245 + | /* ServiceErrorGenerator.kt:202 */
|
783 1246 | impl From<crate::operation::ignore_query_params_in_response::IgnoreQueryParamsInResponseError> for Error {
|
1247 + | /* ServiceErrorGenerator.kt:203 */
|
784 1248 | fn from(err: crate::operation::ignore_query_params_in_response::IgnoreQueryParamsInResponseError) -> Self {
|
1249 + | /* ServiceErrorGenerator.kt:204 */
|
785 1250 | match err {
|
1251 + | /* ServiceErrorGenerator.kt:212 */
|
786 1252 | crate::operation::ignore_query_params_in_response::IgnoreQueryParamsInResponseError::Unhandled(inner) => Error::Unhandled(inner),
|
1253 + | /* ServiceErrorGenerator.kt:204 */
|
787 1254 | }
|
1255 + | /* ServiceErrorGenerator.kt:203 */
|
788 1256 | }
|
1257 + | /* ServiceErrorGenerator.kt:202 */
|
789 1258 | }
|
1259 + | /* ServiceErrorGenerator.kt:174 */
|
790 1260 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::input_and_output_with_headers::InputAndOutputWithHeadersError, R>>
|
791 1261 | for Error
|
792 1262 | where
|
793 1263 | R: Send + Sync + std::fmt::Debug + 'static,
|
794 1264 | {
|
1265 + | /* ServiceErrorGenerator.kt:179 */
|
795 1266 | fn from(
|
796 1267 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::input_and_output_with_headers::InputAndOutputWithHeadersError, R>,
|
797 1268 | ) -> Self {
|
1269 + | /* ServiceErrorGenerator.kt:184 */
|
798 1270 | match err {
|
1271 + | /* ServiceErrorGenerator.kt:185 */
|
799 1272 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1273 + | /* ServiceErrorGenerator.kt:186 */
|
800 1274 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
801 1275 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
802 1276 | source: err.into(),
|
803 1277 | }),
|
1278 + | /* ServiceErrorGenerator.kt:184 */
|
804 1279 | }
|
1280 + | /* ServiceErrorGenerator.kt:179 */
|
805 1281 | }
|
1282 + | /* ServiceErrorGenerator.kt:174 */
|
806 1283 | }
|
1284 + | /* ServiceErrorGenerator.kt:202 */
|
807 1285 | impl From<crate::operation::input_and_output_with_headers::InputAndOutputWithHeadersError> for Error {
|
1286 + | /* ServiceErrorGenerator.kt:203 */
|
808 1287 | fn from(err: crate::operation::input_and_output_with_headers::InputAndOutputWithHeadersError) -> Self {
|
1288 + | /* ServiceErrorGenerator.kt:204 */
|
809 1289 | match err {
|
1290 + | /* ServiceErrorGenerator.kt:212 */
|
810 1291 | crate::operation::input_and_output_with_headers::InputAndOutputWithHeadersError::Unhandled(inner) => Error::Unhandled(inner),
|
1292 + | /* ServiceErrorGenerator.kt:204 */
|
811 1293 | }
|
1294 + | /* ServiceErrorGenerator.kt:203 */
|
812 1295 | }
|
1296 + | /* ServiceErrorGenerator.kt:202 */
|
813 1297 | }
|
1298 + | /* ServiceErrorGenerator.kt:174 */
|
814 1299 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::json_blobs::JsonBlobsError, R>> for Error
|
815 1300 | where
|
816 1301 | R: Send + Sync + std::fmt::Debug + 'static,
|
817 1302 | {
|
1303 + | /* ServiceErrorGenerator.kt:179 */
|
818 1304 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::json_blobs::JsonBlobsError, R>) -> Self {
|
1305 + | /* ServiceErrorGenerator.kt:184 */
|
819 1306 | match err {
|
1307 + | /* ServiceErrorGenerator.kt:185 */
|
820 1308 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1309 + | /* ServiceErrorGenerator.kt:186 */
|
821 1310 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
822 1311 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
823 1312 | source: err.into(),
|
824 1313 | }),
|
1314 + | /* ServiceErrorGenerator.kt:184 */
|
825 1315 | }
|
1316 + | /* ServiceErrorGenerator.kt:179 */
|
826 1317 | }
|
1318 + | /* ServiceErrorGenerator.kt:174 */
|
827 1319 | }
|
1320 + | /* ServiceErrorGenerator.kt:202 */
|
828 1321 | impl From<crate::operation::json_blobs::JsonBlobsError> for Error {
|
1322 + | /* ServiceErrorGenerator.kt:203 */
|
829 1323 | fn from(err: crate::operation::json_blobs::JsonBlobsError) -> Self {
|
1324 + | /* ServiceErrorGenerator.kt:204 */
|
830 1325 | match err {
|
1326 + | /* ServiceErrorGenerator.kt:212 */
|
831 1327 | crate::operation::json_blobs::JsonBlobsError::Unhandled(inner) => Error::Unhandled(inner),
|
1328 + | /* ServiceErrorGenerator.kt:204 */
|
832 1329 | }
|
1330 + | /* ServiceErrorGenerator.kt:203 */
|
833 1331 | }
|
1332 + | /* ServiceErrorGenerator.kt:202 */
|
834 1333 | }
|
1334 + | /* ServiceErrorGenerator.kt:174 */
|
835 1335 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::json_enums::JsonEnumsError, R>> for Error
|
836 1336 | where
|
837 1337 | R: Send + Sync + std::fmt::Debug + 'static,
|
838 1338 | {
|
1339 + | /* ServiceErrorGenerator.kt:179 */
|
839 1340 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::json_enums::JsonEnumsError, R>) -> Self {
|
1341 + | /* ServiceErrorGenerator.kt:184 */
|
840 1342 | match err {
|
1343 + | /* ServiceErrorGenerator.kt:185 */
|
841 1344 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1345 + | /* ServiceErrorGenerator.kt:186 */
|
842 1346 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
843 1347 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
844 1348 | source: err.into(),
|
845 1349 | }),
|
1350 + | /* ServiceErrorGenerator.kt:184 */
|
846 1351 | }
|
1352 + | /* ServiceErrorGenerator.kt:179 */
|
847 1353 | }
|
1354 + | /* ServiceErrorGenerator.kt:174 */
|
848 1355 | }
|
1356 + | /* ServiceErrorGenerator.kt:202 */
|
849 1357 | impl From<crate::operation::json_enums::JsonEnumsError> for Error {
|
1358 + | /* ServiceErrorGenerator.kt:203 */
|
850 1359 | fn from(err: crate::operation::json_enums::JsonEnumsError) -> Self {
|
1360 + | /* ServiceErrorGenerator.kt:204 */
|
851 1361 | match err {
|
1362 + | /* ServiceErrorGenerator.kt:212 */
|
852 1363 | crate::operation::json_enums::JsonEnumsError::Unhandled(inner) => Error::Unhandled(inner),
|
1364 + | /* ServiceErrorGenerator.kt:204 */
|
853 1365 | }
|
1366 + | /* ServiceErrorGenerator.kt:203 */
|
854 1367 | }
|
1368 + | /* ServiceErrorGenerator.kt:202 */
|
855 1369 | }
|
1370 + | /* ServiceErrorGenerator.kt:174 */
|
856 1371 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::json_int_enums::JsonIntEnumsError, R>> for Error
|
857 1372 | where
|
858 1373 | R: Send + Sync + std::fmt::Debug + 'static,
|
859 1374 | {
|
1375 + | /* ServiceErrorGenerator.kt:179 */
|
860 1376 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::json_int_enums::JsonIntEnumsError, R>) -> Self {
|
1377 + | /* ServiceErrorGenerator.kt:184 */
|
861 1378 | match err {
|
1379 + | /* ServiceErrorGenerator.kt:185 */
|
862 1380 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1381 + | /* ServiceErrorGenerator.kt:186 */
|
863 1382 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
864 1383 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
865 1384 | source: err.into(),
|
866 1385 | }),
|
1386 + | /* ServiceErrorGenerator.kt:184 */
|
867 1387 | }
|
1388 + | /* ServiceErrorGenerator.kt:179 */
|
868 1389 | }
|
1390 + | /* ServiceErrorGenerator.kt:174 */
|
869 1391 | }
|
1392 + | /* ServiceErrorGenerator.kt:202 */
|
870 1393 | impl From<crate::operation::json_int_enums::JsonIntEnumsError> for Error {
|
1394 + | /* ServiceErrorGenerator.kt:203 */
|
871 1395 | fn from(err: crate::operation::json_int_enums::JsonIntEnumsError) -> Self {
|
1396 + | /* ServiceErrorGenerator.kt:204 */
|
872 1397 | match err {
|
1398 + | /* ServiceErrorGenerator.kt:212 */
|
873 1399 | crate::operation::json_int_enums::JsonIntEnumsError::Unhandled(inner) => Error::Unhandled(inner),
|
1400 + | /* ServiceErrorGenerator.kt:204 */
|
874 1401 | }
|
1402 + | /* ServiceErrorGenerator.kt:203 */
|
875 1403 | }
|
1404 + | /* ServiceErrorGenerator.kt:202 */
|
876 1405 | }
|
1406 + | /* ServiceErrorGenerator.kt:174 */
|
877 1407 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::json_lists::JsonListsError, R>> for Error
|
878 1408 | where
|
879 1409 | R: Send + Sync + std::fmt::Debug + 'static,
|
880 1410 | {
|
1411 + | /* ServiceErrorGenerator.kt:179 */
|
881 1412 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::json_lists::JsonListsError, R>) -> Self {
|
1413 + | /* ServiceErrorGenerator.kt:184 */
|
882 1414 | match err {
|
1415 + | /* ServiceErrorGenerator.kt:185 */
|
883 1416 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1417 + | /* ServiceErrorGenerator.kt:186 */
|
884 1418 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
885 1419 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
886 1420 | source: err.into(),
|
887 1421 | }),
|
1422 + | /* ServiceErrorGenerator.kt:184 */
|
888 1423 | }
|
1424 + | /* ServiceErrorGenerator.kt:179 */
|
889 1425 | }
|
1426 + | /* ServiceErrorGenerator.kt:174 */
|
890 1427 | }
|
1428 + | /* ServiceErrorGenerator.kt:202 */
|
891 1429 | impl From<crate::operation::json_lists::JsonListsError> for Error {
|
1430 + | /* ServiceErrorGenerator.kt:203 */
|
892 1431 | fn from(err: crate::operation::json_lists::JsonListsError) -> Self {
|
1432 + | /* ServiceErrorGenerator.kt:204 */
|
893 1433 | match err {
|
1434 + | /* ServiceErrorGenerator.kt:212 */
|
894 1435 | crate::operation::json_lists::JsonListsError::Unhandled(inner) => Error::Unhandled(inner),
|
1436 + | /* ServiceErrorGenerator.kt:204 */
|
895 1437 | }
|
1438 + | /* ServiceErrorGenerator.kt:203 */
|
896 1439 | }
|
1440 + | /* ServiceErrorGenerator.kt:202 */
|
897 1441 | }
|
1442 + | /* ServiceErrorGenerator.kt:174 */
|
898 1443 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::json_maps::JsonMapsError, R>> for Error
|
899 1444 | where
|
900 1445 | R: Send + Sync + std::fmt::Debug + 'static,
|
901 1446 | {
|
1447 + | /* ServiceErrorGenerator.kt:179 */
|
902 1448 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::json_maps::JsonMapsError, R>) -> Self {
|
1449 + | /* ServiceErrorGenerator.kt:184 */
|
903 1450 | match err {
|
1451 + | /* ServiceErrorGenerator.kt:185 */
|
904 1452 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1453 + | /* ServiceErrorGenerator.kt:186 */
|
905 1454 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
906 1455 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
907 1456 | source: err.into(),
|
908 1457 | }),
|
1458 + | /* ServiceErrorGenerator.kt:184 */
|
909 1459 | }
|
1460 + | /* ServiceErrorGenerator.kt:179 */
|
910 1461 | }
|
1462 + | /* ServiceErrorGenerator.kt:174 */
|
911 1463 | }
|
1464 + | /* ServiceErrorGenerator.kt:202 */
|
912 1465 | impl From<crate::operation::json_maps::JsonMapsError> for Error {
|
1466 + | /* ServiceErrorGenerator.kt:203 */
|
913 1467 | fn from(err: crate::operation::json_maps::JsonMapsError) -> Self {
|
1468 + | /* ServiceErrorGenerator.kt:204 */
|
914 1469 | match err {
|
1470 + | /* ServiceErrorGenerator.kt:212 */
|
915 1471 | crate::operation::json_maps::JsonMapsError::Unhandled(inner) => Error::Unhandled(inner),
|
1472 + | /* ServiceErrorGenerator.kt:204 */
|
916 1473 | }
|
1474 + | /* ServiceErrorGenerator.kt:203 */
|
917 1475 | }
|
1476 + | /* ServiceErrorGenerator.kt:202 */
|
918 1477 | }
|
1478 + | /* ServiceErrorGenerator.kt:174 */
|
919 1479 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::json_timestamps::JsonTimestampsError, R>> for Error
|
920 1480 | where
|
921 1481 | R: Send + Sync + std::fmt::Debug + 'static,
|
922 1482 | {
|
1483 + | /* ServiceErrorGenerator.kt:179 */
|
923 1484 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::json_timestamps::JsonTimestampsError, R>) -> Self {
|
1485 + | /* ServiceErrorGenerator.kt:184 */
|
924 1486 | match err {
|
1487 + | /* ServiceErrorGenerator.kt:185 */
|
925 1488 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1489 + | /* ServiceErrorGenerator.kt:186 */
|
926 1490 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
927 1491 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
928 1492 | source: err.into(),
|
929 1493 | }),
|
1494 + | /* ServiceErrorGenerator.kt:184 */
|
930 1495 | }
|
1496 + | /* ServiceErrorGenerator.kt:179 */
|
931 1497 | }
|
1498 + | /* ServiceErrorGenerator.kt:174 */
|
932 1499 | }
|
1500 + | /* ServiceErrorGenerator.kt:202 */
|
933 1501 | impl From<crate::operation::json_timestamps::JsonTimestampsError> for Error {
|
1502 + | /* ServiceErrorGenerator.kt:203 */
|
934 1503 | fn from(err: crate::operation::json_timestamps::JsonTimestampsError) -> Self {
|
1504 + | /* ServiceErrorGenerator.kt:204 */
|
935 1505 | match err {
|
1506 + | /* ServiceErrorGenerator.kt:212 */
|
936 1507 | crate::operation::json_timestamps::JsonTimestampsError::Unhandled(inner) => Error::Unhandled(inner),
|
1508 + | /* ServiceErrorGenerator.kt:204 */
|
937 1509 | }
|
1510 + | /* ServiceErrorGenerator.kt:203 */
|
938 1511 | }
|
1512 + | /* ServiceErrorGenerator.kt:202 */
|
939 1513 | }
|
1514 + | /* ServiceErrorGenerator.kt:174 */
|
940 1515 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::json_unions::JsonUnionsError, R>> for Error
|
941 1516 | where
|
942 1517 | R: Send + Sync + std::fmt::Debug + 'static,
|
943 1518 | {
|
1519 + | /* ServiceErrorGenerator.kt:179 */
|
944 1520 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::json_unions::JsonUnionsError, R>) -> Self {
|
1521 + | /* ServiceErrorGenerator.kt:184 */
|
945 1522 | match err {
|
1523 + | /* ServiceErrorGenerator.kt:185 */
|
946 1524 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1525 + | /* ServiceErrorGenerator.kt:186 */
|
947 1526 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
948 1527 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
949 1528 | source: err.into(),
|
950 1529 | }),
|
1530 + | /* ServiceErrorGenerator.kt:184 */
|
951 1531 | }
|
1532 + | /* ServiceErrorGenerator.kt:179 */
|
952 1533 | }
|
1534 + | /* ServiceErrorGenerator.kt:174 */
|
953 1535 | }
|
1536 + | /* ServiceErrorGenerator.kt:202 */
|
954 1537 | impl From<crate::operation::json_unions::JsonUnionsError> for Error {
|
1538 + | /* ServiceErrorGenerator.kt:203 */
|
955 1539 | fn from(err: crate::operation::json_unions::JsonUnionsError) -> Self {
|
1540 + | /* ServiceErrorGenerator.kt:204 */
|
956 1541 | match err {
|
1542 + | /* ServiceErrorGenerator.kt:212 */
|
957 1543 | crate::operation::json_unions::JsonUnionsError::Unhandled(inner) => Error::Unhandled(inner),
|
1544 + | /* ServiceErrorGenerator.kt:204 */
|
958 1545 | }
|
1546 + | /* ServiceErrorGenerator.kt:203 */
|
959 1547 | }
|
1548 + | /* ServiceErrorGenerator.kt:202 */
|
960 1549 | }
|
1550 + | /* ServiceErrorGenerator.kt:174 */
|
961 1551 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::malformed_accept_with_body::MalformedAcceptWithBodyError, R>>
|
962 1552 | for Error
|
963 1553 | where
|
964 1554 | R: Send + Sync + std::fmt::Debug + 'static,
|
965 1555 | {
|
1556 + | /* ServiceErrorGenerator.kt:179 */
|
966 1557 | fn from(
|
967 1558 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::malformed_accept_with_body::MalformedAcceptWithBodyError, R>,
|
968 1559 | ) -> Self {
|
1560 + | /* ServiceErrorGenerator.kt:184 */
|
969 1561 | match err {
|
1562 + | /* ServiceErrorGenerator.kt:185 */
|
970 1563 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1564 + | /* ServiceErrorGenerator.kt:186 */
|
971 1565 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
972 1566 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
973 1567 | source: err.into(),
|
974 1568 | }),
|
1569 + | /* ServiceErrorGenerator.kt:184 */
|
975 1570 | }
|
1571 + | /* ServiceErrorGenerator.kt:179 */
|
976 1572 | }
|
1573 + | /* ServiceErrorGenerator.kt:174 */
|
977 1574 | }
|
1575 + | /* ServiceErrorGenerator.kt:202 */
|
978 1576 | impl From<crate::operation::malformed_accept_with_body::MalformedAcceptWithBodyError> for Error {
|
1577 + | /* ServiceErrorGenerator.kt:203 */
|
979 1578 | fn from(err: crate::operation::malformed_accept_with_body::MalformedAcceptWithBodyError) -> Self {
|
1579 + | /* ServiceErrorGenerator.kt:204 */
|
980 1580 | match err {
|
1581 + | /* ServiceErrorGenerator.kt:212 */
|
981 1582 | crate::operation::malformed_accept_with_body::MalformedAcceptWithBodyError::Unhandled(inner) => Error::Unhandled(inner),
|
1583 + | /* ServiceErrorGenerator.kt:204 */
|
982 1584 | }
|
1585 + | /* ServiceErrorGenerator.kt:203 */
|
983 1586 | }
|
1587 + | /* ServiceErrorGenerator.kt:202 */
|
984 1588 | }
|
1589 + | /* ServiceErrorGenerator.kt:174 */
|
985 1590 | impl<R>
|
986 1591 | From<
|
987 1592 | ::aws_smithy_runtime_api::client::result::SdkError<
|
988 1593 | crate::operation::malformed_accept_with_generic_string::MalformedAcceptWithGenericStringError,
|
989 1594 | R,
|
990 1595 | >,
|
991 1596 | > for Error
|
992 1597 | where
|
993 1598 | R: Send + Sync + std::fmt::Debug + 'static,
|
994 1599 | {
|
1600 + | /* ServiceErrorGenerator.kt:179 */
|
995 1601 | fn from(
|
996 1602 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
997 1603 | crate::operation::malformed_accept_with_generic_string::MalformedAcceptWithGenericStringError,
|
998 1604 | R,
|
999 1605 | >,
|
1000 1606 | ) -> Self {
|
1607 + | /* ServiceErrorGenerator.kt:184 */
|
1001 1608 | match err {
|
1609 + | /* ServiceErrorGenerator.kt:185 */
|
1002 1610 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1611 + | /* ServiceErrorGenerator.kt:186 */
|
1003 1612 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1004 1613 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1005 1614 | source: err.into(),
|
1006 1615 | }),
|
1616 + | /* ServiceErrorGenerator.kt:184 */
|
1007 1617 | }
|
1618 + | /* ServiceErrorGenerator.kt:179 */
|
1008 1619 | }
|
1620 + | /* ServiceErrorGenerator.kt:174 */
|
1009 1621 | }
|
1622 + | /* ServiceErrorGenerator.kt:202 */
|
1010 1623 | impl From<crate::operation::malformed_accept_with_generic_string::MalformedAcceptWithGenericStringError> for Error {
|
1624 + | /* ServiceErrorGenerator.kt:203 */
|
1011 1625 | fn from(err: crate::operation::malformed_accept_with_generic_string::MalformedAcceptWithGenericStringError) -> Self {
|
1626 + | /* ServiceErrorGenerator.kt:204 */
|
1012 1627 | match err {
|
1628 + | /* ServiceErrorGenerator.kt:212 */
|
1013 1629 | crate::operation::malformed_accept_with_generic_string::MalformedAcceptWithGenericStringError::Unhandled(inner) => {
|
1014 1630 | Error::Unhandled(inner)
|
1015 1631 | }
|
1632 + | /* ServiceErrorGenerator.kt:204 */
|
1016 1633 | }
|
1634 + | /* ServiceErrorGenerator.kt:203 */
|
1017 1635 | }
|
1636 + | /* ServiceErrorGenerator.kt:202 */
|
1018 1637 | }
|
1638 + | /* ServiceErrorGenerator.kt:174 */
|
1019 1639 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::malformed_accept_with_payload::MalformedAcceptWithPayloadError, R>>
|
1020 1640 | for Error
|
1021 1641 | where
|
1022 1642 | R: Send + Sync + std::fmt::Debug + 'static,
|
1023 1643 | {
|
1644 + | /* ServiceErrorGenerator.kt:179 */
|
1024 1645 | fn from(
|
1025 1646 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::malformed_accept_with_payload::MalformedAcceptWithPayloadError, R>,
|
1026 1647 | ) -> Self {
|
1648 + | /* ServiceErrorGenerator.kt:184 */
|
1027 1649 | match err {
|
1650 + | /* ServiceErrorGenerator.kt:185 */
|
1028 1651 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1652 + | /* ServiceErrorGenerator.kt:186 */
|
1029 1653 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1030 1654 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1031 1655 | source: err.into(),
|
1032 1656 | }),
|
1657 + | /* ServiceErrorGenerator.kt:184 */
|
1033 1658 | }
|
1659 + | /* ServiceErrorGenerator.kt:179 */
|
1034 1660 | }
|
1661 + | /* ServiceErrorGenerator.kt:174 */
|
1035 1662 | }
|
1663 + | /* ServiceErrorGenerator.kt:202 */
|
1036 1664 | impl From<crate::operation::malformed_accept_with_payload::MalformedAcceptWithPayloadError> for Error {
|
1665 + | /* ServiceErrorGenerator.kt:203 */
|
1037 1666 | fn from(err: crate::operation::malformed_accept_with_payload::MalformedAcceptWithPayloadError) -> Self {
|
1667 + | /* ServiceErrorGenerator.kt:204 */
|
1038 1668 | match err {
|
1669 + | /* ServiceErrorGenerator.kt:212 */
|
1039 1670 | crate::operation::malformed_accept_with_payload::MalformedAcceptWithPayloadError::Unhandled(inner) => Error::Unhandled(inner),
|
1671 + | /* ServiceErrorGenerator.kt:204 */
|
1040 1672 | }
|
1673 + | /* ServiceErrorGenerator.kt:203 */
|
1041 1674 | }
|
1675 + | /* ServiceErrorGenerator.kt:202 */
|
1042 1676 | }
|
1677 + | /* ServiceErrorGenerator.kt:174 */
|
1043 1678 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::malformed_blob::MalformedBlobError, R>> for Error
|
1044 1679 | where
|
1045 1680 | R: Send + Sync + std::fmt::Debug + 'static,
|
1046 1681 | {
|
1682 + | /* ServiceErrorGenerator.kt:179 */
|
1047 1683 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::malformed_blob::MalformedBlobError, R>) -> Self {
|
1684 + | /* ServiceErrorGenerator.kt:184 */
|
1048 1685 | match err {
|
1686 + | /* ServiceErrorGenerator.kt:185 */
|
1049 1687 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1688 + | /* ServiceErrorGenerator.kt:186 */
|
1050 1689 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1051 1690 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1052 1691 | source: err.into(),
|
1053 1692 | }),
|
1693 + | /* ServiceErrorGenerator.kt:184 */
|
1054 1694 | }
|
1695 + | /* ServiceErrorGenerator.kt:179 */
|
1055 1696 | }
|
1697 + | /* ServiceErrorGenerator.kt:174 */
|
1056 1698 | }
|
1699 + | /* ServiceErrorGenerator.kt:202 */
|
1057 1700 | impl From<crate::operation::malformed_blob::MalformedBlobError> for Error {
|
1701 + | /* ServiceErrorGenerator.kt:203 */
|
1058 1702 | fn from(err: crate::operation::malformed_blob::MalformedBlobError) -> Self {
|
1703 + | /* ServiceErrorGenerator.kt:204 */
|
1059 1704 | match err {
|
1705 + | /* ServiceErrorGenerator.kt:212 */
|
1060 1706 | crate::operation::malformed_blob::MalformedBlobError::Unhandled(inner) => Error::Unhandled(inner),
|
1707 + | /* ServiceErrorGenerator.kt:204 */
|
1061 1708 | }
|
1709 + | /* ServiceErrorGenerator.kt:203 */
|
1062 1710 | }
|
1711 + | /* ServiceErrorGenerator.kt:202 */
|
1063 1712 | }
|
1713 + | /* ServiceErrorGenerator.kt:174 */
|
1064 1714 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::malformed_boolean::MalformedBooleanError, R>> for Error
|
1065 1715 | where
|
1066 1716 | R: Send + Sync + std::fmt::Debug + 'static,
|
1067 1717 | {
|
1718 + | /* ServiceErrorGenerator.kt:179 */
|
1068 1719 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::malformed_boolean::MalformedBooleanError, R>) -> Self {
|
1720 + | /* ServiceErrorGenerator.kt:184 */
|
1069 1721 | match err {
|
1722 + | /* ServiceErrorGenerator.kt:185 */
|
1070 1723 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1724 + | /* ServiceErrorGenerator.kt:186 */
|
1071 1725 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1072 1726 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1073 1727 | source: err.into(),
|
1074 1728 | }),
|
1729 + | /* ServiceErrorGenerator.kt:184 */
|
1075 1730 | }
|
1731 + | /* ServiceErrorGenerator.kt:179 */
|
1076 1732 | }
|
1733 + | /* ServiceErrorGenerator.kt:174 */
|
1077 1734 | }
|
1735 + | /* ServiceErrorGenerator.kt:202 */
|
1078 1736 | impl From<crate::operation::malformed_boolean::MalformedBooleanError> for Error {
|
1737 + | /* ServiceErrorGenerator.kt:203 */
|
1079 1738 | fn from(err: crate::operation::malformed_boolean::MalformedBooleanError) -> Self {
|
1739 + | /* ServiceErrorGenerator.kt:204 */
|
1080 1740 | match err {
|
1741 + | /* ServiceErrorGenerator.kt:212 */
|
1081 1742 | crate::operation::malformed_boolean::MalformedBooleanError::Unhandled(inner) => Error::Unhandled(inner),
|
1743 + | /* ServiceErrorGenerator.kt:204 */
|
1082 1744 | }
|
1745 + | /* ServiceErrorGenerator.kt:203 */
|
1083 1746 | }
|
1747 + | /* ServiceErrorGenerator.kt:202 */
|
1084 1748 | }
|
1749 + | /* ServiceErrorGenerator.kt:174 */
|
1085 1750 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::malformed_byte::MalformedByteError, R>> for Error
|
1086 1751 | where
|
1087 1752 | R: Send + Sync + std::fmt::Debug + 'static,
|
1088 1753 | {
|
1754 + | /* ServiceErrorGenerator.kt:179 */
|
1089 1755 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::malformed_byte::MalformedByteError, R>) -> Self {
|
1756 + | /* ServiceErrorGenerator.kt:184 */
|
1090 1757 | match err {
|
1758 + | /* ServiceErrorGenerator.kt:185 */
|
1091 1759 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1760 + | /* ServiceErrorGenerator.kt:186 */
|
1092 1761 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1093 1762 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1094 1763 | source: err.into(),
|
1095 1764 | }),
|
1765 + | /* ServiceErrorGenerator.kt:184 */
|
1096 1766 | }
|
1767 + | /* ServiceErrorGenerator.kt:179 */
|
1097 1768 | }
|
1769 + | /* ServiceErrorGenerator.kt:174 */
|
1098 1770 | }
|
1771 + | /* ServiceErrorGenerator.kt:202 */
|
1099 1772 | impl From<crate::operation::malformed_byte::MalformedByteError> for Error {
|
1773 + | /* ServiceErrorGenerator.kt:203 */
|
1100 1774 | fn from(err: crate::operation::malformed_byte::MalformedByteError) -> Self {
|
1775 + | /* ServiceErrorGenerator.kt:204 */
|
1101 1776 | match err {
|
1777 + | /* ServiceErrorGenerator.kt:212 */
|
1102 1778 | crate::operation::malformed_byte::MalformedByteError::Unhandled(inner) => Error::Unhandled(inner),
|
1779 + | /* ServiceErrorGenerator.kt:204 */
|
1103 1780 | }
|
1781 + | /* ServiceErrorGenerator.kt:203 */
|
1104 1782 | }
|
1783 + | /* ServiceErrorGenerator.kt:202 */
|
1105 1784 | }
|
1785 + | /* ServiceErrorGenerator.kt:174 */
|
1106 1786 | impl<R>
|
1107 1787 | From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::malformed_content_type_with_body::MalformedContentTypeWithBodyError, R>>
|
1108 1788 | for Error
|
1109 1789 | where
|
1110 1790 | R: Send + Sync + std::fmt::Debug + 'static,
|
1111 1791 | {
|
1792 + | /* ServiceErrorGenerator.kt:179 */
|
1112 1793 | fn from(
|
1113 1794 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
1114 1795 | crate::operation::malformed_content_type_with_body::MalformedContentTypeWithBodyError,
|
1115 1796 | R,
|
1116 1797 | >,
|
1117 1798 | ) -> Self {
|
1799 + | /* ServiceErrorGenerator.kt:184 */
|
1118 1800 | match err {
|
1801 + | /* ServiceErrorGenerator.kt:185 */
|
1119 1802 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1803 + | /* ServiceErrorGenerator.kt:186 */
|
1120 1804 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1121 1805 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1122 1806 | source: err.into(),
|
1123 1807 | }),
|
1808 + | /* ServiceErrorGenerator.kt:184 */
|
1124 1809 | }
|
1810 + | /* ServiceErrorGenerator.kt:179 */
|
1125 1811 | }
|
1812 + | /* ServiceErrorGenerator.kt:174 */
|
1126 1813 | }
|
1814 + | /* ServiceErrorGenerator.kt:202 */
|
1127 1815 | impl From<crate::operation::malformed_content_type_with_body::MalformedContentTypeWithBodyError> for Error {
|
1816 + | /* ServiceErrorGenerator.kt:203 */
|
1128 1817 | fn from(err: crate::operation::malformed_content_type_with_body::MalformedContentTypeWithBodyError) -> Self {
|
1818 + | /* ServiceErrorGenerator.kt:204 */
|
1129 1819 | match err {
|
1820 + | /* ServiceErrorGenerator.kt:212 */
|
1130 1821 | crate::operation::malformed_content_type_with_body::MalformedContentTypeWithBodyError::Unhandled(inner) => Error::Unhandled(inner),
|
1822 + | /* ServiceErrorGenerator.kt:204 */
|
1131 1823 | }
|
1824 + | /* ServiceErrorGenerator.kt:203 */
|
1132 1825 | }
|
1826 + | /* ServiceErrorGenerator.kt:202 */
|
1133 1827 | }
|
1828 + | /* ServiceErrorGenerator.kt:174 */
|
1134 1829 | impl<R>
|
1135 1830 | From<
|
1136 1831 | ::aws_smithy_runtime_api::client::result::SdkError<
|
1137 1832 | crate::operation::malformed_content_type_with_generic_string::MalformedContentTypeWithGenericStringError,
|
1138 1833 | R,
|
1139 1834 | >,
|
1140 1835 | > for Error
|
1141 1836 | where
|
1142 1837 | R: Send + Sync + std::fmt::Debug + 'static,
|
1143 1838 | {
|
1839 + | /* ServiceErrorGenerator.kt:179 */
|
1144 1840 | fn from(
|
1145 1841 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
1146 1842 | crate::operation::malformed_content_type_with_generic_string::MalformedContentTypeWithGenericStringError,
|
1147 1843 | R,
|
1148 1844 | >,
|
1149 1845 | ) -> Self {
|
1846 + | /* ServiceErrorGenerator.kt:184 */
|
1150 1847 | match err {
|
1848 + | /* ServiceErrorGenerator.kt:185 */
|
1151 1849 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1850 + | /* ServiceErrorGenerator.kt:186 */
|
1152 1851 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1153 1852 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1154 1853 | source: err.into(),
|
1155 1854 | }),
|
1855 + | /* ServiceErrorGenerator.kt:184 */
|
1156 1856 | }
|
1857 + | /* ServiceErrorGenerator.kt:179 */
|
1157 1858 | }
|
1859 + | /* ServiceErrorGenerator.kt:174 */
|
1158 1860 | }
|
1861 + | /* ServiceErrorGenerator.kt:202 */
|
1159 1862 | impl From<crate::operation::malformed_content_type_with_generic_string::MalformedContentTypeWithGenericStringError> for Error {
|
1863 + | /* ServiceErrorGenerator.kt:203 */
|
1160 1864 | fn from(err: crate::operation::malformed_content_type_with_generic_string::MalformedContentTypeWithGenericStringError) -> Self {
|
1865 + | /* ServiceErrorGenerator.kt:204 */
|
1161 1866 | match err {
|
1867 + | /* ServiceErrorGenerator.kt:212 */
|
1162 1868 | crate::operation::malformed_content_type_with_generic_string::MalformedContentTypeWithGenericStringError::Unhandled(inner) => {
|
1163 1869 | Error::Unhandled(inner)
|
1164 1870 | }
|
1871 + | /* ServiceErrorGenerator.kt:204 */
|
1165 1872 | }
|
1873 + | /* ServiceErrorGenerator.kt:203 */
|
1166 1874 | }
|
1875 + | /* ServiceErrorGenerator.kt:202 */
|
1167 1876 | }
|
1877 + | /* ServiceErrorGenerator.kt:174 */
|
1168 1878 | impl<R>
|
1169 1879 | From<
|
1170 1880 | ::aws_smithy_runtime_api::client::result::SdkError<
|
1171 1881 | crate::operation::malformed_content_type_without_body::MalformedContentTypeWithoutBodyError,
|
1172 1882 | R,
|
1173 1883 | >,
|
1174 1884 | > for Error
|
1175 1885 | where
|
1176 1886 | R: Send + Sync + std::fmt::Debug + 'static,
|
1177 1887 | {
|
1888 + | /* ServiceErrorGenerator.kt:179 */
|
1178 1889 | fn from(
|
1179 1890 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
1180 1891 | crate::operation::malformed_content_type_without_body::MalformedContentTypeWithoutBodyError,
|
1181 1892 | R,
|
1182 1893 | >,
|
1183 1894 | ) -> Self {
|
1895 + | /* ServiceErrorGenerator.kt:184 */
|
1184 1896 | match err {
|
1897 + | /* ServiceErrorGenerator.kt:185 */
|
1185 1898 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1899 + | /* ServiceErrorGenerator.kt:186 */
|
1186 1900 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1187 1901 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1188 1902 | source: err.into(),
|
1189 1903 | }),
|
1904 + | /* ServiceErrorGenerator.kt:184 */
|
1190 1905 | }
|
1906 + | /* ServiceErrorGenerator.kt:179 */
|
1191 1907 | }
|
1908 + | /* ServiceErrorGenerator.kt:174 */
|
1192 1909 | }
|
1910 + | /* ServiceErrorGenerator.kt:202 */
|
1193 1911 | impl From<crate::operation::malformed_content_type_without_body::MalformedContentTypeWithoutBodyError> for Error {
|
1912 + | /* ServiceErrorGenerator.kt:203 */
|
1194 1913 | fn from(err: crate::operation::malformed_content_type_without_body::MalformedContentTypeWithoutBodyError) -> Self {
|
1914 + | /* ServiceErrorGenerator.kt:204 */
|
1195 1915 | match err {
|
1916 + | /* ServiceErrorGenerator.kt:212 */
|
1196 1917 | crate::operation::malformed_content_type_without_body::MalformedContentTypeWithoutBodyError::Unhandled(inner) => Error::Unhandled(inner),
|
1918 + | /* ServiceErrorGenerator.kt:204 */
|
1197 1919 | }
|
1920 + | /* ServiceErrorGenerator.kt:203 */
|
1198 1921 | }
|
1922 + | /* ServiceErrorGenerator.kt:202 */
|
1199 1923 | }
|
1924 + | /* ServiceErrorGenerator.kt:174 */
|
1200 1925 | impl<R>
|
1201 1926 | From<
|
1202 1927 | ::aws_smithy_runtime_api::client::result::SdkError<
|
1203 1928 | crate::operation::malformed_content_type_with_payload::MalformedContentTypeWithPayloadError,
|
1204 1929 | R,
|
1205 1930 | >,
|
1206 1931 | > for Error
|
1207 1932 | where
|
1208 1933 | R: Send + Sync + std::fmt::Debug + 'static,
|
1209 1934 | {
|
1935 + | /* ServiceErrorGenerator.kt:179 */
|
1210 1936 | fn from(
|
1211 1937 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
1212 1938 | crate::operation::malformed_content_type_with_payload::MalformedContentTypeWithPayloadError,
|
1213 1939 | R,
|
1214 1940 | >,
|
1215 1941 | ) -> Self {
|
1942 + | /* ServiceErrorGenerator.kt:184 */
|
1216 1943 | match err {
|
1944 + | /* ServiceErrorGenerator.kt:185 */
|
1217 1945 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1946 + | /* ServiceErrorGenerator.kt:186 */
|
1218 1947 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1219 1948 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1220 1949 | source: err.into(),
|
1221 1950 | }),
|
1951 + | /* ServiceErrorGenerator.kt:184 */
|
1222 1952 | }
|
1953 + | /* ServiceErrorGenerator.kt:179 */
|
1223 1954 | }
|
1955 + | /* ServiceErrorGenerator.kt:174 */
|
1224 1956 | }
|
1957 + | /* ServiceErrorGenerator.kt:202 */
|
1225 1958 | impl From<crate::operation::malformed_content_type_with_payload::MalformedContentTypeWithPayloadError> for Error {
|
1959 + | /* ServiceErrorGenerator.kt:203 */
|
1226 1960 | fn from(err: crate::operation::malformed_content_type_with_payload::MalformedContentTypeWithPayloadError) -> Self {
|
1961 + | /* ServiceErrorGenerator.kt:204 */
|
1227 1962 | match err {
|
1963 + | /* ServiceErrorGenerator.kt:212 */
|
1228 1964 | crate::operation::malformed_content_type_with_payload::MalformedContentTypeWithPayloadError::Unhandled(inner) => Error::Unhandled(inner),
|
1965 + | /* ServiceErrorGenerator.kt:204 */
|
1229 1966 | }
|
1967 + | /* ServiceErrorGenerator.kt:203 */
|
1230 1968 | }
|
1969 + | /* ServiceErrorGenerator.kt:202 */
|
1231 1970 | }
|
1971 + | /* ServiceErrorGenerator.kt:174 */
|
1232 1972 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::malformed_double::MalformedDoubleError, R>> for Error
|
1233 1973 | where
|
1234 1974 | R: Send + Sync + std::fmt::Debug + 'static,
|
1235 1975 | {
|
1976 + | /* ServiceErrorGenerator.kt:179 */
|
1236 1977 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::malformed_double::MalformedDoubleError, R>) -> Self {
|
1978 + | /* ServiceErrorGenerator.kt:184 */
|
1237 1979 | match err {
|
1980 + | /* ServiceErrorGenerator.kt:185 */
|
1238 1981 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1982 + | /* ServiceErrorGenerator.kt:186 */
|
1239 1983 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1240 1984 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1241 1985 | source: err.into(),
|
1242 1986 | }),
|
1987 + | /* ServiceErrorGenerator.kt:184 */
|
1243 1988 | }
|
1989 + | /* ServiceErrorGenerator.kt:179 */
|
1244 1990 | }
|
1991 + | /* ServiceErrorGenerator.kt:174 */
|
1245 1992 | }
|
1993 + | /* ServiceErrorGenerator.kt:202 */
|
1246 1994 | impl From<crate::operation::malformed_double::MalformedDoubleError> for Error {
|
1995 + | /* ServiceErrorGenerator.kt:203 */
|
1247 1996 | fn from(err: crate::operation::malformed_double::MalformedDoubleError) -> Self {
|
1997 + | /* ServiceErrorGenerator.kt:204 */
|
1248 1998 | match err {
|
1999 + | /* ServiceErrorGenerator.kt:212 */
|
1249 2000 | crate::operation::malformed_double::MalformedDoubleError::Unhandled(inner) => Error::Unhandled(inner),
|
2001 + | /* ServiceErrorGenerator.kt:204 */
|
1250 2002 | }
|
2003 + | /* ServiceErrorGenerator.kt:203 */
|
1251 2004 | }
|
2005 + | /* ServiceErrorGenerator.kt:202 */
|
1252 2006 | }
|
2007 + | /* ServiceErrorGenerator.kt:174 */
|
1253 2008 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::malformed_float::MalformedFloatError, R>> for Error
|
1254 2009 | where
|
1255 2010 | R: Send + Sync + std::fmt::Debug + 'static,
|
1256 2011 | {
|
2012 + | /* ServiceErrorGenerator.kt:179 */
|
1257 2013 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::malformed_float::MalformedFloatError, R>) -> Self {
|
2014 + | /* ServiceErrorGenerator.kt:184 */
|
1258 2015 | match err {
|
2016 + | /* ServiceErrorGenerator.kt:185 */
|
1259 2017 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2018 + | /* ServiceErrorGenerator.kt:186 */
|
1260 2019 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1261 2020 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1262 2021 | source: err.into(),
|
1263 2022 | }),
|
2023 + | /* ServiceErrorGenerator.kt:184 */
|
1264 2024 | }
|
2025 + | /* ServiceErrorGenerator.kt:179 */
|
1265 2026 | }
|
2027 + | /* ServiceErrorGenerator.kt:174 */
|
1266 2028 | }
|
2029 + | /* ServiceErrorGenerator.kt:202 */
|
1267 2030 | impl From<crate::operation::malformed_float::MalformedFloatError> for Error {
|
2031 + | /* ServiceErrorGenerator.kt:203 */
|
1268 2032 | fn from(err: crate::operation::malformed_float::MalformedFloatError) -> Self {
|
2033 + | /* ServiceErrorGenerator.kt:204 */
|
1269 2034 | match err {
|
2035 + | /* ServiceErrorGenerator.kt:212 */
|
1270 2036 | crate::operation::malformed_float::MalformedFloatError::Unhandled(inner) => Error::Unhandled(inner),
|
2037 + | /* ServiceErrorGenerator.kt:204 */
|
1271 2038 | }
|
2039 + | /* ServiceErrorGenerator.kt:203 */
|
1272 2040 | }
|
2041 + | /* ServiceErrorGenerator.kt:202 */
|
1273 2042 | }
|
2043 + | /* ServiceErrorGenerator.kt:174 */
|
1274 2044 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::malformed_integer::MalformedIntegerError, R>> for Error
|
1275 2045 | where
|
1276 2046 | R: Send + Sync + std::fmt::Debug + 'static,
|
1277 2047 | {
|
2048 + | /* ServiceErrorGenerator.kt:179 */
|
1278 2049 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::malformed_integer::MalformedIntegerError, R>) -> Self {
|
2050 + | /* ServiceErrorGenerator.kt:184 */
|
1279 2051 | match err {
|
2052 + | /* ServiceErrorGenerator.kt:185 */
|
1280 2053 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2054 + | /* ServiceErrorGenerator.kt:186 */
|
1281 2055 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1282 2056 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1283 2057 | source: err.into(),
|
1284 2058 | }),
|
2059 + | /* ServiceErrorGenerator.kt:184 */
|
1285 2060 | }
|
2061 + | /* ServiceErrorGenerator.kt:179 */
|
1286 2062 | }
|
2063 + | /* ServiceErrorGenerator.kt:174 */
|
1287 2064 | }
|
2065 + | /* ServiceErrorGenerator.kt:202 */
|
1288 2066 | impl From<crate::operation::malformed_integer::MalformedIntegerError> for Error {
|
2067 + | /* ServiceErrorGenerator.kt:203 */
|
1289 2068 | fn from(err: crate::operation::malformed_integer::MalformedIntegerError) -> Self {
|
2069 + | /* ServiceErrorGenerator.kt:204 */
|
1290 2070 | match err {
|
2071 + | /* ServiceErrorGenerator.kt:212 */
|
1291 2072 | crate::operation::malformed_integer::MalformedIntegerError::Unhandled(inner) => Error::Unhandled(inner),
|
2073 + | /* ServiceErrorGenerator.kt:204 */
|
1292 2074 | }
|
2075 + | /* ServiceErrorGenerator.kt:203 */
|
1293 2076 | }
|
2077 + | /* ServiceErrorGenerator.kt:202 */
|
1294 2078 | }
|
2079 + | /* ServiceErrorGenerator.kt:174 */
|
1295 2080 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::malformed_list::MalformedListError, R>> for Error
|
1296 2081 | where
|
1297 2082 | R: Send + Sync + std::fmt::Debug + 'static,
|
1298 2083 | {
|
2084 + | /* ServiceErrorGenerator.kt:179 */
|
1299 2085 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::malformed_list::MalformedListError, R>) -> Self {
|
2086 + | /* ServiceErrorGenerator.kt:184 */
|
1300 2087 | match err {
|
2088 + | /* ServiceErrorGenerator.kt:185 */
|
1301 2089 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2090 + | /* ServiceErrorGenerator.kt:186 */
|
1302 2091 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1303 2092 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1304 2093 | source: err.into(),
|
1305 2094 | }),
|
2095 + | /* ServiceErrorGenerator.kt:184 */
|
1306 2096 | }
|
2097 + | /* ServiceErrorGenerator.kt:179 */
|
1307 2098 | }
|
2099 + | /* ServiceErrorGenerator.kt:174 */
|
1308 2100 | }
|
2101 + | /* ServiceErrorGenerator.kt:202 */
|
1309 2102 | impl From<crate::operation::malformed_list::MalformedListError> for Error {
|
2103 + | /* ServiceErrorGenerator.kt:203 */
|
1310 2104 | fn from(err: crate::operation::malformed_list::MalformedListError) -> Self {
|
2105 + | /* ServiceErrorGenerator.kt:204 */
|
1311 2106 | match err {
|
2107 + | /* ServiceErrorGenerator.kt:212 */
|
1312 2108 | crate::operation::malformed_list::MalformedListError::Unhandled(inner) => Error::Unhandled(inner),
|
2109 + | /* ServiceErrorGenerator.kt:204 */
|
1313 2110 | }
|
2111 + | /* ServiceErrorGenerator.kt:203 */
|
1314 2112 | }
|
2113 + | /* ServiceErrorGenerator.kt:202 */
|
1315 2114 | }
|
2115 + | /* ServiceErrorGenerator.kt:174 */
|
1316 2116 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::malformed_long::MalformedLongError, R>> for Error
|
1317 2117 | where
|
1318 2118 | R: Send + Sync + std::fmt::Debug + 'static,
|
1319 2119 | {
|
2120 + | /* ServiceErrorGenerator.kt:179 */
|
1320 2121 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::malformed_long::MalformedLongError, R>) -> Self {
|
2122 + | /* ServiceErrorGenerator.kt:184 */
|
1321 2123 | match err {
|
2124 + | /* ServiceErrorGenerator.kt:185 */
|
1322 2125 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2126 + | /* ServiceErrorGenerator.kt:186 */
|
1323 2127 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1324 2128 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1325 2129 | source: err.into(),
|
1326 2130 | }),
|
2131 + | /* ServiceErrorGenerator.kt:184 */
|
1327 2132 | }
|
2133 + | /* ServiceErrorGenerator.kt:179 */
|
1328 2134 | }
|
2135 + | /* ServiceErrorGenerator.kt:174 */
|
1329 2136 | }
|
2137 + | /* ServiceErrorGenerator.kt:202 */
|
1330 2138 | impl From<crate::operation::malformed_long::MalformedLongError> for Error {
|
2139 + | /* ServiceErrorGenerator.kt:203 */
|
1331 2140 | fn from(err: crate::operation::malformed_long::MalformedLongError) -> Self {
|
2141 + | /* ServiceErrorGenerator.kt:204 */
|
1332 2142 | match err {
|
2143 + | /* ServiceErrorGenerator.kt:212 */
|
1333 2144 | crate::operation::malformed_long::MalformedLongError::Unhandled(inner) => Error::Unhandled(inner),
|
2145 + | /* ServiceErrorGenerator.kt:204 */
|
1334 2146 | }
|
2147 + | /* ServiceErrorGenerator.kt:203 */
|
1335 2148 | }
|
2149 + | /* ServiceErrorGenerator.kt:202 */
|
1336 2150 | }
|
2151 + | /* ServiceErrorGenerator.kt:174 */
|
1337 2152 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::malformed_map::MalformedMapError, R>> for Error
|
1338 2153 | where
|
1339 2154 | R: Send + Sync + std::fmt::Debug + 'static,
|
1340 2155 | {
|
2156 + | /* ServiceErrorGenerator.kt:179 */
|
1341 2157 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::malformed_map::MalformedMapError, R>) -> Self {
|
2158 + | /* ServiceErrorGenerator.kt:184 */
|
1342 2159 | match err {
|
2160 + | /* ServiceErrorGenerator.kt:185 */
|
1343 2161 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2162 + | /* ServiceErrorGenerator.kt:186 */
|
1344 2163 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1345 2164 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1346 2165 | source: err.into(),
|
1347 2166 | }),
|
2167 + | /* ServiceErrorGenerator.kt:184 */
|
1348 2168 | }
|
2169 + | /* ServiceErrorGenerator.kt:179 */
|
1349 2170 | }
|
2171 + | /* ServiceErrorGenerator.kt:174 */
|
1350 2172 | }
|
2173 + | /* ServiceErrorGenerator.kt:202 */
|
1351 2174 | impl From<crate::operation::malformed_map::MalformedMapError> for Error {
|
2175 + | /* ServiceErrorGenerator.kt:203 */
|
1352 2176 | fn from(err: crate::operation::malformed_map::MalformedMapError) -> Self {
|
2177 + | /* ServiceErrorGenerator.kt:204 */
|
1353 2178 | match err {
|
2179 + | /* ServiceErrorGenerator.kt:212 */
|
1354 2180 | crate::operation::malformed_map::MalformedMapError::Unhandled(inner) => Error::Unhandled(inner),
|
2181 + | /* ServiceErrorGenerator.kt:204 */
|
1355 2182 | }
|
2183 + | /* ServiceErrorGenerator.kt:203 */
|
1356 2184 | }
|
2185 + | /* ServiceErrorGenerator.kt:202 */
|
1357 2186 | }
|
2187 + | /* ServiceErrorGenerator.kt:174 */
|
1358 2188 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::malformed_request_body::MalformedRequestBodyError, R>> for Error
|
1359 2189 | where
|
1360 2190 | R: Send + Sync + std::fmt::Debug + 'static,
|
1361 2191 | {
|
2192 + | /* ServiceErrorGenerator.kt:179 */
|
1362 2193 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::malformed_request_body::MalformedRequestBodyError, R>) -> Self {
|
2194 + | /* ServiceErrorGenerator.kt:184 */
|
1363 2195 | match err {
|
2196 + | /* ServiceErrorGenerator.kt:185 */
|
1364 2197 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2198 + | /* ServiceErrorGenerator.kt:186 */
|
1365 2199 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1366 2200 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1367 2201 | source: err.into(),
|
1368 2202 | }),
|
2203 + | /* ServiceErrorGenerator.kt:184 */
|
1369 2204 | }
|
2205 + | /* ServiceErrorGenerator.kt:179 */
|
1370 2206 | }
|
2207 + | /* ServiceErrorGenerator.kt:174 */
|
1371 2208 | }
|
2209 + | /* ServiceErrorGenerator.kt:202 */
|
1372 2210 | impl From<crate::operation::malformed_request_body::MalformedRequestBodyError> for Error {
|
2211 + | /* ServiceErrorGenerator.kt:203 */
|
1373 2212 | fn from(err: crate::operation::malformed_request_body::MalformedRequestBodyError) -> Self {
|
2213 + | /* ServiceErrorGenerator.kt:204 */
|
1374 2214 | match err {
|
2215 + | /* ServiceErrorGenerator.kt:212 */
|
1375 2216 | crate::operation::malformed_request_body::MalformedRequestBodyError::Unhandled(inner) => Error::Unhandled(inner),
|
2217 + | /* ServiceErrorGenerator.kt:204 */
|
1376 2218 | }
|
2219 + | /* ServiceErrorGenerator.kt:203 */
|
1377 2220 | }
|
2221 + | /* ServiceErrorGenerator.kt:202 */
|
1378 2222 | }
|
2223 + | /* ServiceErrorGenerator.kt:174 */
|
1379 2224 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::malformed_short::MalformedShortError, R>> for Error
|
1380 2225 | where
|
1381 2226 | R: Send + Sync + std::fmt::Debug + 'static,
|
1382 2227 | {
|
2228 + | /* ServiceErrorGenerator.kt:179 */
|
1383 2229 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::malformed_short::MalformedShortError, R>) -> Self {
|
2230 + | /* ServiceErrorGenerator.kt:184 */
|
1384 2231 | match err {
|
2232 + | /* ServiceErrorGenerator.kt:185 */
|
1385 2233 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2234 + | /* ServiceErrorGenerator.kt:186 */
|
1386 2235 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1387 2236 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1388 2237 | source: err.into(),
|
1389 2238 | }),
|
2239 + | /* ServiceErrorGenerator.kt:184 */
|
1390 2240 | }
|
2241 + | /* ServiceErrorGenerator.kt:179 */
|
1391 2242 | }
|
2243 + | /* ServiceErrorGenerator.kt:174 */
|
1392 2244 | }
|
2245 + | /* ServiceErrorGenerator.kt:202 */
|
1393 2246 | impl From<crate::operation::malformed_short::MalformedShortError> for Error {
|
2247 + | /* ServiceErrorGenerator.kt:203 */
|
1394 2248 | fn from(err: crate::operation::malformed_short::MalformedShortError) -> Self {
|
2249 + | /* ServiceErrorGenerator.kt:204 */
|
1395 2250 | match err {
|
2251 + | /* ServiceErrorGenerator.kt:212 */
|
1396 2252 | crate::operation::malformed_short::MalformedShortError::Unhandled(inner) => Error::Unhandled(inner),
|
2253 + | /* ServiceErrorGenerator.kt:204 */
|
1397 2254 | }
|
2255 + | /* ServiceErrorGenerator.kt:203 */
|
1398 2256 | }
|
2257 + | /* ServiceErrorGenerator.kt:202 */
|
1399 2258 | }
|
2259 + | /* ServiceErrorGenerator.kt:174 */
|
1400 2260 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::malformed_string::MalformedStringError, R>> for Error
|
1401 2261 | where
|
1402 2262 | R: Send + Sync + std::fmt::Debug + 'static,
|
1403 2263 | {
|
2264 + | /* ServiceErrorGenerator.kt:179 */
|
1404 2265 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::malformed_string::MalformedStringError, R>) -> Self {
|
2266 + | /* ServiceErrorGenerator.kt:184 */
|
1405 2267 | match err {
|
2268 + | /* ServiceErrorGenerator.kt:185 */
|
1406 2269 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2270 + | /* ServiceErrorGenerator.kt:186 */
|
1407 2271 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1408 2272 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1409 2273 | source: err.into(),
|
1410 2274 | }),
|
2275 + | /* ServiceErrorGenerator.kt:184 */
|
1411 2276 | }
|
2277 + | /* ServiceErrorGenerator.kt:179 */
|
1412 2278 | }
|
2279 + | /* ServiceErrorGenerator.kt:174 */
|
1413 2280 | }
|
2281 + | /* ServiceErrorGenerator.kt:202 */
|
1414 2282 | impl From<crate::operation::malformed_string::MalformedStringError> for Error {
|
2283 + | /* ServiceErrorGenerator.kt:203 */
|
1415 2284 | fn from(err: crate::operation::malformed_string::MalformedStringError) -> Self {
|
2285 + | /* ServiceErrorGenerator.kt:204 */
|
1416 2286 | match err {
|
2287 + | /* ServiceErrorGenerator.kt:212 */
|
1417 2288 | crate::operation::malformed_string::MalformedStringError::Unhandled(inner) => Error::Unhandled(inner),
|
2289 + | /* ServiceErrorGenerator.kt:204 */
|
1418 2290 | }
|
2291 + | /* ServiceErrorGenerator.kt:203 */
|
1419 2292 | }
|
2293 + | /* ServiceErrorGenerator.kt:202 */
|
1420 2294 | }
|
2295 + | /* ServiceErrorGenerator.kt:174 */
|
1421 2296 | impl<R>
|
1422 2297 | From<
|
1423 2298 | ::aws_smithy_runtime_api::client::result::SdkError<
|
1424 2299 | crate::operation::malformed_timestamp_body_date_time::MalformedTimestampBodyDateTimeError,
|
1425 2300 | R,
|
1426 2301 | >,
|
1427 2302 | > for Error
|
1428 2303 | where
|
1429 2304 | R: Send + Sync + std::fmt::Debug + 'static,
|
1430 2305 | {
|
2306 + | /* ServiceErrorGenerator.kt:179 */
|
1431 2307 | fn from(
|
1432 2308 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
1433 2309 | crate::operation::malformed_timestamp_body_date_time::MalformedTimestampBodyDateTimeError,
|
1434 2310 | R,
|
1435 2311 | >,
|
1436 2312 | ) -> Self {
|
2313 + | /* ServiceErrorGenerator.kt:184 */
|
1437 2314 | match err {
|
2315 + | /* ServiceErrorGenerator.kt:185 */
|
1438 2316 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2317 + | /* ServiceErrorGenerator.kt:186 */
|
1439 2318 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1440 2319 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1441 2320 | source: err.into(),
|
1442 2321 | }),
|
2322 + | /* ServiceErrorGenerator.kt:184 */
|
1443 2323 | }
|
2324 + | /* ServiceErrorGenerator.kt:179 */
|
1444 2325 | }
|
2326 + | /* ServiceErrorGenerator.kt:174 */
|
1445 2327 | }
|
2328 + | /* ServiceErrorGenerator.kt:202 */
|
1446 2329 | impl From<crate::operation::malformed_timestamp_body_date_time::MalformedTimestampBodyDateTimeError> for Error {
|
2330 + | /* ServiceErrorGenerator.kt:203 */
|
1447 2331 | fn from(err: crate::operation::malformed_timestamp_body_date_time::MalformedTimestampBodyDateTimeError) -> Self {
|
2332 + | /* ServiceErrorGenerator.kt:204 */
|
1448 2333 | match err {
|
2334 + | /* ServiceErrorGenerator.kt:212 */
|
1449 2335 | crate::operation::malformed_timestamp_body_date_time::MalformedTimestampBodyDateTimeError::Unhandled(inner) => Error::Unhandled(inner),
|
2336 + | /* ServiceErrorGenerator.kt:204 */
|
1450 2337 | }
|
2338 + | /* ServiceErrorGenerator.kt:203 */
|
1451 2339 | }
|
2340 + | /* ServiceErrorGenerator.kt:202 */
|
1452 2341 | }
|
2342 + | /* ServiceErrorGenerator.kt:174 */
|
1453 2343 | impl<R>
|
1454 2344 | From<
|
1455 2345 | ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::malformed_timestamp_body_default::MalformedTimestampBodyDefaultError, R>,
|
1456 2346 | > for Error
|
1457 2347 | where
|
1458 2348 | R: Send + Sync + std::fmt::Debug + 'static,
|
1459 2349 | {
|
2350 + | /* ServiceErrorGenerator.kt:179 */
|
1460 2351 | fn from(
|
1461 2352 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
1462 2353 | crate::operation::malformed_timestamp_body_default::MalformedTimestampBodyDefaultError,
|
1463 2354 | R,
|
1464 2355 | >,
|
1465 2356 | ) -> Self {
|
2357 + | /* ServiceErrorGenerator.kt:184 */
|
1466 2358 | match err {
|
2359 + | /* ServiceErrorGenerator.kt:185 */
|
1467 2360 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2361 + | /* ServiceErrorGenerator.kt:186 */
|
1468 2362 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1469 2363 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1470 2364 | source: err.into(),
|
1471 2365 | }),
|
2366 + | /* ServiceErrorGenerator.kt:184 */
|
1472 2367 | }
|
2368 + | /* ServiceErrorGenerator.kt:179 */
|
1473 2369 | }
|
2370 + | /* ServiceErrorGenerator.kt:174 */
|
1474 2371 | }
|
2372 + | /* ServiceErrorGenerator.kt:202 */
|
1475 2373 | impl From<crate::operation::malformed_timestamp_body_default::MalformedTimestampBodyDefaultError> for Error {
|
2374 + | /* ServiceErrorGenerator.kt:203 */
|
1476 2375 | fn from(err: crate::operation::malformed_timestamp_body_default::MalformedTimestampBodyDefaultError) -> Self {
|
2376 + | /* ServiceErrorGenerator.kt:204 */
|
1477 2377 | match err {
|
2378 + | /* ServiceErrorGenerator.kt:212 */
|
1478 2379 | crate::operation::malformed_timestamp_body_default::MalformedTimestampBodyDefaultError::Unhandled(inner) => Error::Unhandled(inner),
|
2380 + | /* ServiceErrorGenerator.kt:204 */
|
1479 2381 | }
|
2382 + | /* ServiceErrorGenerator.kt:203 */
|
1480 2383 | }
|
2384 + | /* ServiceErrorGenerator.kt:202 */
|
1481 2385 | }
|
2386 + | /* ServiceErrorGenerator.kt:174 */
|
1482 2387 | impl<R>
|
1483 2388 | From<
|
1484 2389 | ::aws_smithy_runtime_api::client::result::SdkError<
|
1485 2390 | crate::operation::malformed_timestamp_body_http_date::MalformedTimestampBodyHttpDateError,
|
1486 2391 | R,
|
1487 2392 | >,
|
1488 2393 | > for Error
|
1489 2394 | where
|
1490 2395 | R: Send + Sync + std::fmt::Debug + 'static,
|
1491 2396 | {
|
2397 + | /* ServiceErrorGenerator.kt:179 */
|
1492 2398 | fn from(
|
1493 2399 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
1494 2400 | crate::operation::malformed_timestamp_body_http_date::MalformedTimestampBodyHttpDateError,
|
1495 2401 | R,
|
1496 2402 | >,
|
1497 2403 | ) -> Self {
|
2404 + | /* ServiceErrorGenerator.kt:184 */
|
1498 2405 | match err {
|
2406 + | /* ServiceErrorGenerator.kt:185 */
|
1499 2407 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2408 + | /* ServiceErrorGenerator.kt:186 */
|
1500 2409 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1501 2410 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1502 2411 | source: err.into(),
|
1503 2412 | }),
|
2413 + | /* ServiceErrorGenerator.kt:184 */
|
1504 2414 | }
|
2415 + | /* ServiceErrorGenerator.kt:179 */
|
1505 2416 | }
|
2417 + | /* ServiceErrorGenerator.kt:174 */
|
1506 2418 | }
|
2419 + | /* ServiceErrorGenerator.kt:202 */
|
1507 2420 | impl From<crate::operation::malformed_timestamp_body_http_date::MalformedTimestampBodyHttpDateError> for Error {
|
2421 + | /* ServiceErrorGenerator.kt:203 */
|
1508 2422 | fn from(err: crate::operation::malformed_timestamp_body_http_date::MalformedTimestampBodyHttpDateError) -> Self {
|
2423 + | /* ServiceErrorGenerator.kt:204 */
|
1509 2424 | match err {
|
2425 + | /* ServiceErrorGenerator.kt:212 */
|
1510 2426 | crate::operation::malformed_timestamp_body_http_date::MalformedTimestampBodyHttpDateError::Unhandled(inner) => Error::Unhandled(inner),
|
2427 + | /* ServiceErrorGenerator.kt:204 */
|
1511 2428 | }
|
2429 + | /* ServiceErrorGenerator.kt:203 */
|
1512 2430 | }
|
2431 + | /* ServiceErrorGenerator.kt:202 */
|
1513 2432 | }
|
2433 + | /* ServiceErrorGenerator.kt:174 */
|
1514 2434 | impl<R>
|
1515 2435 | From<
|
1516 2436 | ::aws_smithy_runtime_api::client::result::SdkError<
|
1517 2437 | crate::operation::malformed_timestamp_header_date_time::MalformedTimestampHeaderDateTimeError,
|
1518 2438 | R,
|
1519 2439 | >,
|
1520 2440 | > for Error
|
1521 2441 | where
|
1522 2442 | R: Send + Sync + std::fmt::Debug + 'static,
|
1523 2443 | {
|
2444 + | /* ServiceErrorGenerator.kt:179 */
|
1524 2445 | fn from(
|
1525 2446 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
1526 2447 | crate::operation::malformed_timestamp_header_date_time::MalformedTimestampHeaderDateTimeError,
|
1527 2448 | R,
|
1528 2449 | >,
|
1529 2450 | ) -> Self {
|
2451 + | /* ServiceErrorGenerator.kt:184 */
|
1530 2452 | match err {
|
2453 + | /* ServiceErrorGenerator.kt:185 */
|
1531 2454 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2455 + | /* ServiceErrorGenerator.kt:186 */
|
1532 2456 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1533 2457 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1534 2458 | source: err.into(),
|
1535 2459 | }),
|
2460 + | /* ServiceErrorGenerator.kt:184 */
|
1536 2461 | }
|
2462 + | /* ServiceErrorGenerator.kt:179 */
|
1537 2463 | }
|
2464 + | /* ServiceErrorGenerator.kt:174 */
|
1538 2465 | }
|
2466 + | /* ServiceErrorGenerator.kt:202 */
|
1539 2467 | impl From<crate::operation::malformed_timestamp_header_date_time::MalformedTimestampHeaderDateTimeError> for Error {
|
2468 + | /* ServiceErrorGenerator.kt:203 */
|
1540 2469 | fn from(err: crate::operation::malformed_timestamp_header_date_time::MalformedTimestampHeaderDateTimeError) -> Self {
|
2470 + | /* ServiceErrorGenerator.kt:204 */
|
1541 2471 | match err {
|
2472 + | /* ServiceErrorGenerator.kt:212 */
|
1542 2473 | crate::operation::malformed_timestamp_header_date_time::MalformedTimestampHeaderDateTimeError::Unhandled(inner) => {
|
1543 2474 | Error::Unhandled(inner)
|
1544 2475 | }
|
2476 + | /* ServiceErrorGenerator.kt:204 */
|
1545 2477 | }
|
2478 + | /* ServiceErrorGenerator.kt:203 */
|
1546 2479 | }
|
2480 + | /* ServiceErrorGenerator.kt:202 */
|
1547 2481 | }
|
2482 + | /* ServiceErrorGenerator.kt:174 */
|
1548 2483 | impl<R>
|
1549 2484 | From<
|
1550 2485 | ::aws_smithy_runtime_api::client::result::SdkError<
|
1551 2486 | crate::operation::malformed_timestamp_header_default::MalformedTimestampHeaderDefaultError,
|
1552 2487 | R,
|
1553 2488 | >,
|
1554 2489 | > for Error
|
1555 2490 | where
|
1556 2491 | R: Send + Sync + std::fmt::Debug + 'static,
|
1557 2492 | {
|
2493 + | /* ServiceErrorGenerator.kt:179 */
|
1558 2494 | fn from(
|
1559 2495 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
1560 2496 | crate::operation::malformed_timestamp_header_default::MalformedTimestampHeaderDefaultError,
|
1561 2497 | R,
|
1562 2498 | >,
|
1563 2499 | ) -> Self {
|
2500 + | /* ServiceErrorGenerator.kt:184 */
|
1564 2501 | match err {
|
2502 + | /* ServiceErrorGenerator.kt:185 */
|
1565 2503 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2504 + | /* ServiceErrorGenerator.kt:186 */
|
1566 2505 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1567 2506 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1568 2507 | source: err.into(),
|
1569 2508 | }),
|
2509 + | /* ServiceErrorGenerator.kt:184 */
|
1570 2510 | }
|
2511 + | /* ServiceErrorGenerator.kt:179 */
|
1571 2512 | }
|
2513 + | /* ServiceErrorGenerator.kt:174 */
|
1572 2514 | }
|
2515 + | /* ServiceErrorGenerator.kt:202 */
|
1573 2516 | impl From<crate::operation::malformed_timestamp_header_default::MalformedTimestampHeaderDefaultError> for Error {
|
2517 + | /* ServiceErrorGenerator.kt:203 */
|
1574 2518 | fn from(err: crate::operation::malformed_timestamp_header_default::MalformedTimestampHeaderDefaultError) -> Self {
|
2519 + | /* ServiceErrorGenerator.kt:204 */
|
1575 2520 | match err {
|
2521 + | /* ServiceErrorGenerator.kt:212 */
|
1576 2522 | crate::operation::malformed_timestamp_header_default::MalformedTimestampHeaderDefaultError::Unhandled(inner) => Error::Unhandled(inner),
|
2523 + | /* ServiceErrorGenerator.kt:204 */
|
1577 2524 | }
|
2525 + | /* ServiceErrorGenerator.kt:203 */
|
1578 2526 | }
|
2527 + | /* ServiceErrorGenerator.kt:202 */
|
1579 2528 | }
|
2529 + | /* ServiceErrorGenerator.kt:174 */
|
1580 2530 | impl<R>
|
1581 2531 | From<
|
1582 2532 | ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::malformed_timestamp_header_epoch::MalformedTimestampHeaderEpochError, R>,
|
1583 2533 | > for Error
|
1584 2534 | where
|
1585 2535 | R: Send + Sync + std::fmt::Debug + 'static,
|
1586 2536 | {
|
2537 + | /* ServiceErrorGenerator.kt:179 */
|
1587 2538 | fn from(
|
1588 2539 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
1589 2540 | crate::operation::malformed_timestamp_header_epoch::MalformedTimestampHeaderEpochError,
|
1590 2541 | R,
|
1591 2542 | >,
|
1592 2543 | ) -> Self {
|
2544 + | /* ServiceErrorGenerator.kt:184 */
|
1593 2545 | match err {
|
2546 + | /* ServiceErrorGenerator.kt:185 */
|
1594 2547 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2548 + | /* ServiceErrorGenerator.kt:186 */
|
1595 2549 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1596 2550 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1597 2551 | source: err.into(),
|
1598 2552 | }),
|
2553 + | /* ServiceErrorGenerator.kt:184 */
|
1599 2554 | }
|
2555 + | /* ServiceErrorGenerator.kt:179 */
|
1600 2556 | }
|
2557 + | /* ServiceErrorGenerator.kt:174 */
|
1601 2558 | }
|
2559 + | /* ServiceErrorGenerator.kt:202 */
|
1602 2560 | impl From<crate::operation::malformed_timestamp_header_epoch::MalformedTimestampHeaderEpochError> for Error {
|
2561 + | /* ServiceErrorGenerator.kt:203 */
|
1603 2562 | fn from(err: crate::operation::malformed_timestamp_header_epoch::MalformedTimestampHeaderEpochError) -> Self {
|
2563 + | /* ServiceErrorGenerator.kt:204 */
|
1604 2564 | match err {
|
2565 + | /* ServiceErrorGenerator.kt:212 */
|
1605 2566 | crate::operation::malformed_timestamp_header_epoch::MalformedTimestampHeaderEpochError::Unhandled(inner) => Error::Unhandled(inner),
|
2567 + | /* ServiceErrorGenerator.kt:204 */
|
1606 2568 | }
|
2569 + | /* ServiceErrorGenerator.kt:203 */
|
1607 2570 | }
|
2571 + | /* ServiceErrorGenerator.kt:202 */
|
1608 2572 | }
|
2573 + | /* ServiceErrorGenerator.kt:174 */
|
1609 2574 | impl<R>
|
1610 2575 | From<
|
1611 2576 | ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::malformed_timestamp_path_default::MalformedTimestampPathDefaultError, R>,
|
1612 2577 | > for Error
|
1613 2578 | where
|
1614 2579 | R: Send + Sync + std::fmt::Debug + 'static,
|
1615 2580 | {
|
2581 + | /* ServiceErrorGenerator.kt:179 */
|
1616 2582 | fn from(
|
1617 2583 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
1618 2584 | crate::operation::malformed_timestamp_path_default::MalformedTimestampPathDefaultError,
|
1619 2585 | R,
|
1620 2586 | >,
|
1621 2587 | ) -> Self {
|
2588 + | /* ServiceErrorGenerator.kt:184 */
|
1622 2589 | match err {
|
2590 + | /* ServiceErrorGenerator.kt:185 */
|
1623 2591 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2592 + | /* ServiceErrorGenerator.kt:186 */
|
1624 2593 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1625 2594 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1626 2595 | source: err.into(),
|
1627 2596 | }),
|
2597 + | /* ServiceErrorGenerator.kt:184 */
|
1628 2598 | }
|
2599 + | /* ServiceErrorGenerator.kt:179 */
|
1629 2600 | }
|
2601 + | /* ServiceErrorGenerator.kt:174 */
|
1630 2602 | }
|
2603 + | /* ServiceErrorGenerator.kt:202 */
|
1631 2604 | impl From<crate::operation::malformed_timestamp_path_default::MalformedTimestampPathDefaultError> for Error {
|
2605 + | /* ServiceErrorGenerator.kt:203 */
|
1632 2606 | fn from(err: crate::operation::malformed_timestamp_path_default::MalformedTimestampPathDefaultError) -> Self {
|
2607 + | /* ServiceErrorGenerator.kt:204 */
|
1633 2608 | match err {
|
2609 + | /* ServiceErrorGenerator.kt:212 */
|
1634 2610 | crate::operation::malformed_timestamp_path_default::MalformedTimestampPathDefaultError::Unhandled(inner) => Error::Unhandled(inner),
|
2611 + | /* ServiceErrorGenerator.kt:204 */
|
1635 2612 | }
|
2613 + | /* ServiceErrorGenerator.kt:203 */
|
1636 2614 | }
|
2615 + | /* ServiceErrorGenerator.kt:202 */
|
1637 2616 | }
|
2617 + | /* ServiceErrorGenerator.kt:174 */
|
1638 2618 | impl<R>
|
1639 2619 | From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::malformed_timestamp_path_epoch::MalformedTimestampPathEpochError, R>>
|
1640 2620 | for Error
|
1641 2621 | where
|
1642 2622 | R: Send + Sync + std::fmt::Debug + 'static,
|
1643 2623 | {
|
2624 + | /* ServiceErrorGenerator.kt:179 */
|
1644 2625 | fn from(
|
1645 2626 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
1646 2627 | crate::operation::malformed_timestamp_path_epoch::MalformedTimestampPathEpochError,
|
1647 2628 | R,
|
1648 2629 | >,
|
1649 2630 | ) -> Self {
|
2631 + | /* ServiceErrorGenerator.kt:184 */
|
1650 2632 | match err {
|
2633 + | /* ServiceErrorGenerator.kt:185 */
|
1651 2634 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2635 + | /* ServiceErrorGenerator.kt:186 */
|
1652 2636 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1653 2637 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1654 2638 | source: err.into(),
|
1655 2639 | }),
|
2640 + | /* ServiceErrorGenerator.kt:184 */
|
1656 2641 | }
|
2642 + | /* ServiceErrorGenerator.kt:179 */
|
1657 2643 | }
|
2644 + | /* ServiceErrorGenerator.kt:174 */
|
1658 2645 | }
|
2646 + | /* ServiceErrorGenerator.kt:202 */
|
1659 2647 | impl From<crate::operation::malformed_timestamp_path_epoch::MalformedTimestampPathEpochError> for Error {
|
2648 + | /* ServiceErrorGenerator.kt:203 */
|
1660 2649 | fn from(err: crate::operation::malformed_timestamp_path_epoch::MalformedTimestampPathEpochError) -> Self {
|
2650 + | /* ServiceErrorGenerator.kt:204 */
|
1661 2651 | match err {
|
2652 + | /* ServiceErrorGenerator.kt:212 */
|
1662 2653 | crate::operation::malformed_timestamp_path_epoch::MalformedTimestampPathEpochError::Unhandled(inner) => Error::Unhandled(inner),
|
2654 + | /* ServiceErrorGenerator.kt:204 */
|
1663 2655 | }
|
2656 + | /* ServiceErrorGenerator.kt:203 */
|
1664 2657 | }
|
2658 + | /* ServiceErrorGenerator.kt:202 */
|
1665 2659 | }
|
2660 + | /* ServiceErrorGenerator.kt:174 */
|
1666 2661 | impl<R>
|
1667 2662 | From<
|
1668 2663 | ::aws_smithy_runtime_api::client::result::SdkError<
|
1669 2664 | crate::operation::malformed_timestamp_path_http_date::MalformedTimestampPathHttpDateError,
|
1670 2665 | R,
|
1671 2666 | >,
|
1672 2667 | > for Error
|
1673 2668 | where
|
1674 2669 | R: Send + Sync + std::fmt::Debug + 'static,
|
1675 2670 | {
|
2671 + | /* ServiceErrorGenerator.kt:179 */
|
1676 2672 | fn from(
|
1677 2673 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
1678 2674 | crate::operation::malformed_timestamp_path_http_date::MalformedTimestampPathHttpDateError,
|
1679 2675 | R,
|
1680 2676 | >,
|
1681 2677 | ) -> Self {
|
2678 + | /* ServiceErrorGenerator.kt:184 */
|
1682 2679 | match err {
|
2680 + | /* ServiceErrorGenerator.kt:185 */
|
1683 2681 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2682 + | /* ServiceErrorGenerator.kt:186 */
|
1684 2683 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1685 2684 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1686 2685 | source: err.into(),
|
1687 2686 | }),
|
2687 + | /* ServiceErrorGenerator.kt:184 */
|
1688 2688 | }
|
2689 + | /* ServiceErrorGenerator.kt:179 */
|
1689 2690 | }
|
2691 + | /* ServiceErrorGenerator.kt:174 */
|
1690 2692 | }
|
2693 + | /* ServiceErrorGenerator.kt:202 */
|
1691 2694 | impl From<crate::operation::malformed_timestamp_path_http_date::MalformedTimestampPathHttpDateError> for Error {
|
2695 + | /* ServiceErrorGenerator.kt:203 */
|
1692 2696 | fn from(err: crate::operation::malformed_timestamp_path_http_date::MalformedTimestampPathHttpDateError) -> Self {
|
2697 + | /* ServiceErrorGenerator.kt:204 */
|
1693 2698 | match err {
|
2699 + | /* ServiceErrorGenerator.kt:212 */
|
1694 2700 | crate::operation::malformed_timestamp_path_http_date::MalformedTimestampPathHttpDateError::Unhandled(inner) => Error::Unhandled(inner),
|
2701 + | /* ServiceErrorGenerator.kt:204 */
|
1695 2702 | }
|
2703 + | /* ServiceErrorGenerator.kt:203 */
|
1696 2704 | }
|
2705 + | /* ServiceErrorGenerator.kt:202 */
|
1697 2706 | }
|
2707 + | /* ServiceErrorGenerator.kt:174 */
|
1698 2708 | impl<R>
|
1699 2709 | From<
|
1700 2710 | ::aws_smithy_runtime_api::client::result::SdkError<
|
1701 2711 | crate::operation::malformed_timestamp_query_default::MalformedTimestampQueryDefaultError,
|
1702 2712 | R,
|
1703 2713 | >,
|
1704 2714 | > for Error
|
1705 2715 | where
|
1706 2716 | R: Send + Sync + std::fmt::Debug + 'static,
|
1707 2717 | {
|
2718 + | /* ServiceErrorGenerator.kt:179 */
|
1708 2719 | fn from(
|
1709 2720 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
1710 2721 | crate::operation::malformed_timestamp_query_default::MalformedTimestampQueryDefaultError,
|
1711 2722 | R,
|
1712 2723 | >,
|
1713 2724 | ) -> Self {
|
2725 + | /* ServiceErrorGenerator.kt:184 */
|
1714 2726 | match err {
|
2727 + | /* ServiceErrorGenerator.kt:185 */
|
1715 2728 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2729 + | /* ServiceErrorGenerator.kt:186 */
|
1716 2730 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1717 2731 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1718 2732 | source: err.into(),
|
1719 2733 | }),
|
2734 + | /* ServiceErrorGenerator.kt:184 */
|
1720 2735 | }
|
2736 + | /* ServiceErrorGenerator.kt:179 */
|
1721 2737 | }
|
2738 + | /* ServiceErrorGenerator.kt:174 */
|
1722 2739 | }
|
2740 + | /* ServiceErrorGenerator.kt:202 */
|
1723 2741 | impl From<crate::operation::malformed_timestamp_query_default::MalformedTimestampQueryDefaultError> for Error {
|
2742 + | /* ServiceErrorGenerator.kt:203 */
|
1724 2743 | fn from(err: crate::operation::malformed_timestamp_query_default::MalformedTimestampQueryDefaultError) -> Self {
|
2744 + | /* ServiceErrorGenerator.kt:204 */
|
1725 2745 | match err {
|
2746 + | /* ServiceErrorGenerator.kt:212 */
|
1726 2747 | crate::operation::malformed_timestamp_query_default::MalformedTimestampQueryDefaultError::Unhandled(inner) => Error::Unhandled(inner),
|
2748 + | /* ServiceErrorGenerator.kt:204 */
|
1727 2749 | }
|
2750 + | /* ServiceErrorGenerator.kt:203 */
|
1728 2751 | }
|
2752 + | /* ServiceErrorGenerator.kt:202 */
|
1729 2753 | }
|
2754 + | /* ServiceErrorGenerator.kt:174 */
|
1730 2755 | impl<R>
|
1731 2756 | From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::malformed_timestamp_query_epoch::MalformedTimestampQueryEpochError, R>>
|
1732 2757 | for Error
|
1733 2758 | where
|
1734 2759 | R: Send + Sync + std::fmt::Debug + 'static,
|
1735 2760 | {
|
2761 + | /* ServiceErrorGenerator.kt:179 */
|
1736 2762 | fn from(
|
1737 2763 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
1738 2764 | crate::operation::malformed_timestamp_query_epoch::MalformedTimestampQueryEpochError,
|
1739 2765 | R,
|
1740 2766 | >,
|
1741 2767 | ) -> Self {
|
2768 + | /* ServiceErrorGenerator.kt:184 */
|
1742 2769 | match err {
|
2770 + | /* ServiceErrorGenerator.kt:185 */
|
1743 2771 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2772 + | /* ServiceErrorGenerator.kt:186 */
|
1744 2773 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1745 2774 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1746 2775 | source: err.into(),
|
1747 2776 | }),
|
2777 + | /* ServiceErrorGenerator.kt:184 */
|
1748 2778 | }
|
2779 + | /* ServiceErrorGenerator.kt:179 */
|
1749 2780 | }
|
2781 + | /* ServiceErrorGenerator.kt:174 */
|
1750 2782 | }
|
2783 + | /* ServiceErrorGenerator.kt:202 */
|
1751 2784 | impl From<crate::operation::malformed_timestamp_query_epoch::MalformedTimestampQueryEpochError> for Error {
|
2785 + | /* ServiceErrorGenerator.kt:203 */
|
1752 2786 | fn from(err: crate::operation::malformed_timestamp_query_epoch::MalformedTimestampQueryEpochError) -> Self {
|
2787 + | /* ServiceErrorGenerator.kt:204 */
|
1753 2788 | match err {
|
2789 + | /* ServiceErrorGenerator.kt:212 */
|
1754 2790 | crate::operation::malformed_timestamp_query_epoch::MalformedTimestampQueryEpochError::Unhandled(inner) => Error::Unhandled(inner),
|
2791 + | /* ServiceErrorGenerator.kt:204 */
|
1755 2792 | }
|
2793 + | /* ServiceErrorGenerator.kt:203 */
|
1756 2794 | }
|
2795 + | /* ServiceErrorGenerator.kt:202 */
|
1757 2796 | }
|
2797 + | /* ServiceErrorGenerator.kt:174 */
|
1758 2798 | impl<R>
|
1759 2799 | From<
|
1760 2800 | ::aws_smithy_runtime_api::client::result::SdkError<
|
1761 2801 | crate::operation::malformed_timestamp_query_http_date::MalformedTimestampQueryHttpDateError,
|
1762 2802 | R,
|
1763 2803 | >,
|
1764 2804 | > for Error
|
1765 2805 | where
|
1766 2806 | R: Send + Sync + std::fmt::Debug + 'static,
|
1767 2807 | {
|
2808 + | /* ServiceErrorGenerator.kt:179 */
|
1768 2809 | fn from(
|
1769 2810 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
1770 2811 | crate::operation::malformed_timestamp_query_http_date::MalformedTimestampQueryHttpDateError,
|
1771 2812 | R,
|
1772 2813 | >,
|
1773 2814 | ) -> Self {
|
2815 + | /* ServiceErrorGenerator.kt:184 */
|
1774 2816 | match err {
|
2817 + | /* ServiceErrorGenerator.kt:185 */
|
1775 2818 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2819 + | /* ServiceErrorGenerator.kt:186 */
|
1776 2820 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1777 2821 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1778 2822 | source: err.into(),
|
1779 2823 | }),
|
2824 + | /* ServiceErrorGenerator.kt:184 */
|
1780 2825 | }
|
2826 + | /* ServiceErrorGenerator.kt:179 */
|
1781 2827 | }
|
2828 + | /* ServiceErrorGenerator.kt:174 */
|
1782 2829 | }
|
2830 + | /* ServiceErrorGenerator.kt:202 */
|
1783 2831 | impl From<crate::operation::malformed_timestamp_query_http_date::MalformedTimestampQueryHttpDateError> for Error {
|
2832 + | /* ServiceErrorGenerator.kt:203 */
|
1784 2833 | fn from(err: crate::operation::malformed_timestamp_query_http_date::MalformedTimestampQueryHttpDateError) -> Self {
|
2834 + | /* ServiceErrorGenerator.kt:204 */
|
1785 2835 | match err {
|
2836 + | /* ServiceErrorGenerator.kt:212 */
|
1786 2837 | crate::operation::malformed_timestamp_query_http_date::MalformedTimestampQueryHttpDateError::Unhandled(inner) => Error::Unhandled(inner),
|
2838 + | /* ServiceErrorGenerator.kt:204 */
|
1787 2839 | }
|
2840 + | /* ServiceErrorGenerator.kt:203 */
|
1788 2841 | }
|
2842 + | /* ServiceErrorGenerator.kt:202 */
|
1789 2843 | }
|
2844 + | /* ServiceErrorGenerator.kt:174 */
|
1790 2845 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::malformed_union::MalformedUnionError, R>> for Error
|
1791 2846 | where
|
1792 2847 | R: Send + Sync + std::fmt::Debug + 'static,
|
1793 2848 | {
|
2849 + | /* ServiceErrorGenerator.kt:179 */
|
1794 2850 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::malformed_union::MalformedUnionError, R>) -> Self {
|
2851 + | /* ServiceErrorGenerator.kt:184 */
|
1795 2852 | match err {
|
2853 + | /* ServiceErrorGenerator.kt:185 */
|
1796 2854 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2855 + | /* ServiceErrorGenerator.kt:186 */
|
1797 2856 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1798 2857 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1799 2858 | source: err.into(),
|
1800 2859 | }),
|
2860 + | /* ServiceErrorGenerator.kt:184 */
|
1801 2861 | }
|
2862 + | /* ServiceErrorGenerator.kt:179 */
|
1802 2863 | }
|
2864 + | /* ServiceErrorGenerator.kt:174 */
|
1803 2865 | }
|
2866 + | /* ServiceErrorGenerator.kt:202 */
|
1804 2867 | impl From<crate::operation::malformed_union::MalformedUnionError> for Error {
|
2868 + | /* ServiceErrorGenerator.kt:203 */
|
1805 2869 | fn from(err: crate::operation::malformed_union::MalformedUnionError) -> Self {
|
2870 + | /* ServiceErrorGenerator.kt:204 */
|
1806 2871 | match err {
|
2872 + | /* ServiceErrorGenerator.kt:212 */
|
1807 2873 | crate::operation::malformed_union::MalformedUnionError::Unhandled(inner) => Error::Unhandled(inner),
|
2874 + | /* ServiceErrorGenerator.kt:204 */
|
1808 2875 | }
|
2876 + | /* ServiceErrorGenerator.kt:203 */
|
1809 2877 | }
|
2878 + | /* ServiceErrorGenerator.kt:202 */
|
1810 2879 | }
|
2880 + | /* ServiceErrorGenerator.kt:174 */
|
1811 2881 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::media_type_header::MediaTypeHeaderError, R>> for Error
|
1812 2882 | where
|
1813 2883 | R: Send + Sync + std::fmt::Debug + 'static,
|
1814 2884 | {
|
2885 + | /* ServiceErrorGenerator.kt:179 */
|
1815 2886 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::media_type_header::MediaTypeHeaderError, R>) -> Self {
|
2887 + | /* ServiceErrorGenerator.kt:184 */
|
1816 2888 | match err {
|
2889 + | /* ServiceErrorGenerator.kt:185 */
|
1817 2890 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2891 + | /* ServiceErrorGenerator.kt:186 */
|
1818 2892 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1819 2893 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1820 2894 | source: err.into(),
|
1821 2895 | }),
|
2896 + | /* ServiceErrorGenerator.kt:184 */
|
1822 2897 | }
|
2898 + | /* ServiceErrorGenerator.kt:179 */
|
1823 2899 | }
|
2900 + | /* ServiceErrorGenerator.kt:174 */
|
1824 2901 | }
|
2902 + | /* ServiceErrorGenerator.kt:202 */
|
1825 2903 | impl From<crate::operation::media_type_header::MediaTypeHeaderError> for Error {
|
2904 + | /* ServiceErrorGenerator.kt:203 */
|
1826 2905 | fn from(err: crate::operation::media_type_header::MediaTypeHeaderError) -> Self {
|
2906 + | /* ServiceErrorGenerator.kt:204 */
|
1827 2907 | match err {
|
2908 + | /* ServiceErrorGenerator.kt:212 */
|
1828 2909 | crate::operation::media_type_header::MediaTypeHeaderError::Unhandled(inner) => Error::Unhandled(inner),
|
2910 + | /* ServiceErrorGenerator.kt:204 */
|
1829 2911 | }
|
2912 + | /* ServiceErrorGenerator.kt:203 */
|
1830 2913 | }
|
2914 + | /* ServiceErrorGenerator.kt:202 */
|
1831 2915 | }
|
2916 + | /* ServiceErrorGenerator.kt:174 */
|
1832 2917 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::no_input_and_no_output::NoInputAndNoOutputError, R>> for Error
|
1833 2918 | where
|
1834 2919 | R: Send + Sync + std::fmt::Debug + 'static,
|
1835 2920 | {
|
2921 + | /* ServiceErrorGenerator.kt:179 */
|
1836 2922 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::no_input_and_no_output::NoInputAndNoOutputError, R>) -> Self {
|
2923 + | /* ServiceErrorGenerator.kt:184 */
|
1837 2924 | match err {
|
2925 + | /* ServiceErrorGenerator.kt:185 */
|
1838 2926 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2927 + | /* ServiceErrorGenerator.kt:186 */
|
1839 2928 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1840 2929 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1841 2930 | source: err.into(),
|
1842 2931 | }),
|
2932 + | /* ServiceErrorGenerator.kt:184 */
|
1843 2933 | }
|
2934 + | /* ServiceErrorGenerator.kt:179 */
|
1844 2935 | }
|
2936 + | /* ServiceErrorGenerator.kt:174 */
|
1845 2937 | }
|
2938 + | /* ServiceErrorGenerator.kt:202 */
|
1846 2939 | impl From<crate::operation::no_input_and_no_output::NoInputAndNoOutputError> for Error {
|
2940 + | /* ServiceErrorGenerator.kt:203 */
|
1847 2941 | fn from(err: crate::operation::no_input_and_no_output::NoInputAndNoOutputError) -> Self {
|
2942 + | /* ServiceErrorGenerator.kt:204 */
|
1848 2943 | match err {
|
2944 + | /* ServiceErrorGenerator.kt:212 */
|
1849 2945 | crate::operation::no_input_and_no_output::NoInputAndNoOutputError::Unhandled(inner) => Error::Unhandled(inner),
|
2946 + | /* ServiceErrorGenerator.kt:204 */
|
1850 2947 | }
|
2948 + | /* ServiceErrorGenerator.kt:203 */
|
1851 2949 | }
|
2950 + | /* ServiceErrorGenerator.kt:202 */
|
1852 2951 | }
|
2952 + | /* ServiceErrorGenerator.kt:174 */
|
1853 2953 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::no_input_and_output::NoInputAndOutputError, R>> for Error
|
1854 2954 | where
|
1855 2955 | R: Send + Sync + std::fmt::Debug + 'static,
|
1856 2956 | {
|
2957 + | /* ServiceErrorGenerator.kt:179 */
|
1857 2958 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::no_input_and_output::NoInputAndOutputError, R>) -> Self {
|
2959 + | /* ServiceErrorGenerator.kt:184 */
|
1858 2960 | match err {
|
2961 + | /* ServiceErrorGenerator.kt:185 */
|
1859 2962 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2963 + | /* ServiceErrorGenerator.kt:186 */
|
1860 2964 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1861 2965 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1862 2966 | source: err.into(),
|
1863 2967 | }),
|
2968 + | /* ServiceErrorGenerator.kt:184 */
|
1864 2969 | }
|
2970 + | /* ServiceErrorGenerator.kt:179 */
|
1865 2971 | }
|
2972 + | /* ServiceErrorGenerator.kt:174 */
|
1866 2973 | }
|
2974 + | /* ServiceErrorGenerator.kt:202 */
|
1867 2975 | impl From<crate::operation::no_input_and_output::NoInputAndOutputError> for Error {
|
2976 + | /* ServiceErrorGenerator.kt:203 */
|
1868 2977 | fn from(err: crate::operation::no_input_and_output::NoInputAndOutputError) -> Self {
|
2978 + | /* ServiceErrorGenerator.kt:204 */
|
1869 2979 | match err {
|
2980 + | /* ServiceErrorGenerator.kt:212 */
|
1870 2981 | crate::operation::no_input_and_output::NoInputAndOutputError::Unhandled(inner) => Error::Unhandled(inner),
|
2982 + | /* ServiceErrorGenerator.kt:204 */
|
1871 2983 | }
|
2984 + | /* ServiceErrorGenerator.kt:203 */
|
1872 2985 | }
|
2986 + | /* ServiceErrorGenerator.kt:202 */
|
1873 2987 | }
|
2988 + | /* ServiceErrorGenerator.kt:174 */
|
1874 2989 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::null_and_empty_headers_client::NullAndEmptyHeadersClientError, R>>
|
1875 2990 | for Error
|
1876 2991 | where
|
1877 2992 | R: Send + Sync + std::fmt::Debug + 'static,
|
1878 2993 | {
|
2994 + | /* ServiceErrorGenerator.kt:179 */
|
1879 2995 | fn from(
|
1880 2996 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::null_and_empty_headers_client::NullAndEmptyHeadersClientError, R>,
|
1881 2997 | ) -> Self {
|
2998 + | /* ServiceErrorGenerator.kt:184 */
|
1882 2999 | match err {
|
3000 + | /* ServiceErrorGenerator.kt:185 */
|
1883 3001 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3002 + | /* ServiceErrorGenerator.kt:186 */
|
1884 3003 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1885 3004 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1886 3005 | source: err.into(),
|
1887 3006 | }),
|
3007 + | /* ServiceErrorGenerator.kt:184 */
|
1888 3008 | }
|
3009 + | /* ServiceErrorGenerator.kt:179 */
|
1889 3010 | }
|
3011 + | /* ServiceErrorGenerator.kt:174 */
|
1890 3012 | }
|
3013 + | /* ServiceErrorGenerator.kt:202 */
|
1891 3014 | impl From<crate::operation::null_and_empty_headers_client::NullAndEmptyHeadersClientError> for Error {
|
3015 + | /* ServiceErrorGenerator.kt:203 */
|
1892 3016 | fn from(err: crate::operation::null_and_empty_headers_client::NullAndEmptyHeadersClientError) -> Self {
|
3017 + | /* ServiceErrorGenerator.kt:204 */
|
1893 3018 | match err {
|
3019 + | /* ServiceErrorGenerator.kt:212 */
|
1894 3020 | crate::operation::null_and_empty_headers_client::NullAndEmptyHeadersClientError::Unhandled(inner) => Error::Unhandled(inner),
|
3021 + | /* ServiceErrorGenerator.kt:204 */
|
1895 3022 | }
|
3023 + | /* ServiceErrorGenerator.kt:203 */
|
1896 3024 | }
|
3025 + | /* ServiceErrorGenerator.kt:202 */
|
1897 3026 | }
|
3027 + | /* ServiceErrorGenerator.kt:174 */
|
1898 3028 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::null_and_empty_headers_server::NullAndEmptyHeadersServerError, R>>
|
1899 3029 | for Error
|
1900 3030 | where
|
1901 3031 | R: Send + Sync + std::fmt::Debug + 'static,
|
1902 3032 | {
|
3033 + | /* ServiceErrorGenerator.kt:179 */
|
1903 3034 | fn from(
|
1904 3035 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::null_and_empty_headers_server::NullAndEmptyHeadersServerError, R>,
|
1905 3036 | ) -> Self {
|
3037 + | /* ServiceErrorGenerator.kt:184 */
|
1906 3038 | match err {
|
3039 + | /* ServiceErrorGenerator.kt:185 */
|
1907 3040 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3041 + | /* ServiceErrorGenerator.kt:186 */
|
1908 3042 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1909 3043 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1910 3044 | source: err.into(),
|
1911 3045 | }),
|
3046 + | /* ServiceErrorGenerator.kt:184 */
|
1912 3047 | }
|
3048 + | /* ServiceErrorGenerator.kt:179 */
|
1913 3049 | }
|
3050 + | /* ServiceErrorGenerator.kt:174 */
|
1914 3051 | }
|
3052 + | /* ServiceErrorGenerator.kt:202 */
|
1915 3053 | impl From<crate::operation::null_and_empty_headers_server::NullAndEmptyHeadersServerError> for Error {
|
3054 + | /* ServiceErrorGenerator.kt:203 */
|
1916 3055 | fn from(err: crate::operation::null_and_empty_headers_server::NullAndEmptyHeadersServerError) -> Self {
|
3056 + | /* ServiceErrorGenerator.kt:204 */
|
1917 3057 | match err {
|
3058 + | /* ServiceErrorGenerator.kt:212 */
|
1918 3059 | crate::operation::null_and_empty_headers_server::NullAndEmptyHeadersServerError::Unhandled(inner) => Error::Unhandled(inner),
|
3060 + | /* ServiceErrorGenerator.kt:204 */
|
1919 3061 | }
|
3062 + | /* ServiceErrorGenerator.kt:203 */
|
1920 3063 | }
|
3064 + | /* ServiceErrorGenerator.kt:202 */
|
1921 3065 | }
|
3066 + | /* ServiceErrorGenerator.kt:174 */
|
1922 3067 | impl<R>
|
1923 3068 | From<
|
1924 3069 | ::aws_smithy_runtime_api::client::result::SdkError<
|
1925 3070 | crate::operation::omits_null_serializes_empty_string::OmitsNullSerializesEmptyStringError,
|
1926 3071 | R,
|
1927 3072 | >,
|
1928 3073 | > for Error
|
1929 3074 | where
|
1930 3075 | R: Send + Sync + std::fmt::Debug + 'static,
|
1931 3076 | {
|
3077 + | /* ServiceErrorGenerator.kt:179 */
|
1932 3078 | fn from(
|
1933 3079 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
1934 3080 | crate::operation::omits_null_serializes_empty_string::OmitsNullSerializesEmptyStringError,
|
1935 3081 | R,
|
1936 3082 | >,
|
1937 3083 | ) -> Self {
|
3084 + | /* ServiceErrorGenerator.kt:184 */
|
1938 3085 | match err {
|
3086 + | /* ServiceErrorGenerator.kt:185 */
|
1939 3087 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3088 + | /* ServiceErrorGenerator.kt:186 */
|
1940 3089 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1941 3090 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1942 3091 | source: err.into(),
|
1943 3092 | }),
|
3093 + | /* ServiceErrorGenerator.kt:184 */
|
1944 3094 | }
|
3095 + | /* ServiceErrorGenerator.kt:179 */
|
1945 3096 | }
|
3097 + | /* ServiceErrorGenerator.kt:174 */
|
1946 3098 | }
|
3099 + | /* ServiceErrorGenerator.kt:202 */
|
1947 3100 | impl From<crate::operation::omits_null_serializes_empty_string::OmitsNullSerializesEmptyStringError> for Error {
|
3101 + | /* ServiceErrorGenerator.kt:203 */
|
1948 3102 | fn from(err: crate::operation::omits_null_serializes_empty_string::OmitsNullSerializesEmptyStringError) -> Self {
|
3103 + | /* ServiceErrorGenerator.kt:204 */
|
1949 3104 | match err {
|
3105 + | /* ServiceErrorGenerator.kt:212 */
|
1950 3106 | crate::operation::omits_null_serializes_empty_string::OmitsNullSerializesEmptyStringError::Unhandled(inner) => Error::Unhandled(inner),
|
3107 + | /* ServiceErrorGenerator.kt:204 */
|
1951 3108 | }
|
3109 + | /* ServiceErrorGenerator.kt:203 */
|
1952 3110 | }
|
3111 + | /* ServiceErrorGenerator.kt:202 */
|
1953 3112 | }
|
3113 + | /* ServiceErrorGenerator.kt:174 */
|
1954 3114 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::omits_serializing_empty_lists::OmitsSerializingEmptyListsError, R>>
|
1955 3115 | for Error
|
1956 3116 | where
|
1957 3117 | R: Send + Sync + std::fmt::Debug + 'static,
|
1958 3118 | {
|
3119 + | /* ServiceErrorGenerator.kt:179 */
|
1959 3120 | fn from(
|
1960 3121 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::omits_serializing_empty_lists::OmitsSerializingEmptyListsError, R>,
|
1961 3122 | ) -> Self {
|
3123 + | /* ServiceErrorGenerator.kt:184 */
|
1962 3124 | match err {
|
3125 + | /* ServiceErrorGenerator.kt:185 */
|
1963 3126 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3127 + | /* ServiceErrorGenerator.kt:186 */
|
1964 3128 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1965 3129 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1966 3130 | source: err.into(),
|
1967 3131 | }),
|
3132 + | /* ServiceErrorGenerator.kt:184 */
|
1968 3133 | }
|
3134 + | /* ServiceErrorGenerator.kt:179 */
|
1969 3135 | }
|
3136 + | /* ServiceErrorGenerator.kt:174 */
|
1970 3137 | }
|
3138 + | /* ServiceErrorGenerator.kt:202 */
|
1971 3139 | impl From<crate::operation::omits_serializing_empty_lists::OmitsSerializingEmptyListsError> for Error {
|
3140 + | /* ServiceErrorGenerator.kt:203 */
|
1972 3141 | fn from(err: crate::operation::omits_serializing_empty_lists::OmitsSerializingEmptyListsError) -> Self {
|
3142 + | /* ServiceErrorGenerator.kt:204 */
|
1973 3143 | match err {
|
3144 + | /* ServiceErrorGenerator.kt:212 */
|
1974 3145 | crate::operation::omits_serializing_empty_lists::OmitsSerializingEmptyListsError::Unhandled(inner) => Error::Unhandled(inner),
|
3146 + | /* ServiceErrorGenerator.kt:204 */
|
1975 3147 | }
|
3148 + | /* ServiceErrorGenerator.kt:203 */
|
1976 3149 | }
|
3150 + | /* ServiceErrorGenerator.kt:202 */
|
1977 3151 | }
|
3152 + | /* ServiceErrorGenerator.kt:174 */
|
1978 3153 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::operation_with_defaults::OperationWithDefaultsError, R>> for Error
|
1979 3154 | where
|
1980 3155 | R: Send + Sync + std::fmt::Debug + 'static,
|
1981 3156 | {
|
3157 + | /* ServiceErrorGenerator.kt:179 */
|
1982 3158 | fn from(
|
1983 3159 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::operation_with_defaults::OperationWithDefaultsError, R>,
|
1984 3160 | ) -> Self {
|
3161 + | /* ServiceErrorGenerator.kt:184 */
|
1985 3162 | match err {
|
3163 + | /* ServiceErrorGenerator.kt:185 */
|
1986 3164 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3165 + | /* ServiceErrorGenerator.kt:186 */
|
1987 3166 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1988 3167 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1989 3168 | source: err.into(),
|
1990 3169 | }),
|
3170 + | /* ServiceErrorGenerator.kt:184 */
|
1991 3171 | }
|
3172 + | /* ServiceErrorGenerator.kt:179 */
|
1992 3173 | }
|
3174 + | /* ServiceErrorGenerator.kt:174 */
|
1993 3175 | }
|
3176 + | /* ServiceErrorGenerator.kt:202 */
|
1994 3177 | impl From<crate::operation::operation_with_defaults::OperationWithDefaultsError> for Error {
|
3178 + | /* ServiceErrorGenerator.kt:203 */
|
1995 3179 | fn from(err: crate::operation::operation_with_defaults::OperationWithDefaultsError) -> Self {
|
3180 + | /* ServiceErrorGenerator.kt:204 */
|
1996 3181 | match err {
|
3182 + | /* ServiceErrorGenerator.kt:212 */
|
1997 3183 | crate::operation::operation_with_defaults::OperationWithDefaultsError::Unhandled(inner) => Error::Unhandled(inner),
|
3184 + | /* ServiceErrorGenerator.kt:204 */
|
1998 3185 | }
|
3186 + | /* ServiceErrorGenerator.kt:203 */
|
1999 3187 | }
|
3188 + | /* ServiceErrorGenerator.kt:202 */
|
2000 3189 | }
|
3190 + | /* ServiceErrorGenerator.kt:174 */
|
2001 3191 | impl<R>
|
2002 3192 | From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::operation_with_nested_structure::OperationWithNestedStructureError, R>>
|
2003 3193 | for Error
|
2004 3194 | where
|
2005 3195 | R: Send + Sync + std::fmt::Debug + 'static,
|
2006 3196 | {
|
3197 + | /* ServiceErrorGenerator.kt:179 */
|
2007 3198 | fn from(
|
2008 3199 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
2009 3200 | crate::operation::operation_with_nested_structure::OperationWithNestedStructureError,
|
2010 3201 | R,
|
2011 3202 | >,
|
2012 3203 | ) -> Self {
|
3204 + | /* ServiceErrorGenerator.kt:184 */
|
2013 3205 | match err {
|
3206 + | /* ServiceErrorGenerator.kt:185 */
|
2014 3207 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3208 + | /* ServiceErrorGenerator.kt:186 */
|
2015 3209 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2016 3210 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2017 3211 | source: err.into(),
|
2018 3212 | }),
|
3213 + | /* ServiceErrorGenerator.kt:184 */
|
2019 3214 | }
|
3215 + | /* ServiceErrorGenerator.kt:179 */
|
2020 3216 | }
|
3217 + | /* ServiceErrorGenerator.kt:174 */
|
2021 3218 | }
|
3219 + | /* ServiceErrorGenerator.kt:202 */
|
2022 3220 | impl From<crate::operation::operation_with_nested_structure::OperationWithNestedStructureError> for Error {
|
3221 + | /* ServiceErrorGenerator.kt:203 */
|
2023 3222 | fn from(err: crate::operation::operation_with_nested_structure::OperationWithNestedStructureError) -> Self {
|
3223 + | /* ServiceErrorGenerator.kt:204 */
|
2024 3224 | match err {
|
3225 + | /* ServiceErrorGenerator.kt:212 */
|
2025 3226 | crate::operation::operation_with_nested_structure::OperationWithNestedStructureError::Unhandled(inner) => Error::Unhandled(inner),
|
3227 + | /* ServiceErrorGenerator.kt:204 */
|
2026 3228 | }
|
3229 + | /* ServiceErrorGenerator.kt:203 */
|
2027 3230 | }
|
3231 + | /* ServiceErrorGenerator.kt:202 */
|
2028 3232 | }
|
3233 + | /* ServiceErrorGenerator.kt:174 */
|
2029 3234 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::post_player_action::PostPlayerActionError, R>> for Error
|
2030 3235 | where
|
2031 3236 | R: Send + Sync + std::fmt::Debug + 'static,
|
2032 3237 | {
|
3238 + | /* ServiceErrorGenerator.kt:179 */
|
2033 3239 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::post_player_action::PostPlayerActionError, R>) -> Self {
|
3240 + | /* ServiceErrorGenerator.kt:184 */
|
2034 3241 | match err {
|
3242 + | /* ServiceErrorGenerator.kt:185 */
|
2035 3243 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3244 + | /* ServiceErrorGenerator.kt:186 */
|
2036 3245 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2037 3246 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2038 3247 | source: err.into(),
|
2039 3248 | }),
|
3249 + | /* ServiceErrorGenerator.kt:184 */
|
2040 3250 | }
|
3251 + | /* ServiceErrorGenerator.kt:179 */
|
2041 3252 | }
|
3253 + | /* ServiceErrorGenerator.kt:174 */
|
2042 3254 | }
|
3255 + | /* ServiceErrorGenerator.kt:202 */
|
2043 3256 | impl From<crate::operation::post_player_action::PostPlayerActionError> for Error {
|
3257 + | /* ServiceErrorGenerator.kt:203 */
|
2044 3258 | fn from(err: crate::operation::post_player_action::PostPlayerActionError) -> Self {
|
3259 + | /* ServiceErrorGenerator.kt:204 */
|
2045 3260 | match err {
|
3261 + | /* ServiceErrorGenerator.kt:212 */
|
2046 3262 | crate::operation::post_player_action::PostPlayerActionError::Unhandled(inner) => Error::Unhandled(inner),
|
3263 + | /* ServiceErrorGenerator.kt:204 */
|
2047 3264 | }
|
3265 + | /* ServiceErrorGenerator.kt:203 */
|
2048 3266 | }
|
3267 + | /* ServiceErrorGenerator.kt:202 */
|
2049 3268 | }
|
3269 + | /* ServiceErrorGenerator.kt:174 */
|
2050 3270 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::post_union_with_json_name::PostUnionWithJsonNameError, R>> for Error
|
2051 3271 | where
|
2052 3272 | R: Send + Sync + std::fmt::Debug + 'static,
|
2053 3273 | {
|
3274 + | /* ServiceErrorGenerator.kt:179 */
|
2054 3275 | fn from(
|
2055 3276 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::post_union_with_json_name::PostUnionWithJsonNameError, R>,
|
2056 3277 | ) -> Self {
|
3278 + | /* ServiceErrorGenerator.kt:184 */
|
2057 3279 | match err {
|
3280 + | /* ServiceErrorGenerator.kt:185 */
|
2058 3281 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3282 + | /* ServiceErrorGenerator.kt:186 */
|
2059 3283 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2060 3284 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2061 3285 | source: err.into(),
|
2062 3286 | }),
|
3287 + | /* ServiceErrorGenerator.kt:184 */
|
2063 3288 | }
|
3289 + | /* ServiceErrorGenerator.kt:179 */
|
2064 3290 | }
|
3291 + | /* ServiceErrorGenerator.kt:174 */
|
2065 3292 | }
|
3293 + | /* ServiceErrorGenerator.kt:202 */
|
2066 3294 | impl From<crate::operation::post_union_with_json_name::PostUnionWithJsonNameError> for Error {
|
3295 + | /* ServiceErrorGenerator.kt:203 */
|
2067 3296 | fn from(err: crate::operation::post_union_with_json_name::PostUnionWithJsonNameError) -> Self {
|
3297 + | /* ServiceErrorGenerator.kt:204 */
|
2068 3298 | match err {
|
3299 + | /* ServiceErrorGenerator.kt:212 */
|
2069 3300 | crate::operation::post_union_with_json_name::PostUnionWithJsonNameError::Unhandled(inner) => Error::Unhandled(inner),
|
3301 + | /* ServiceErrorGenerator.kt:204 */
|
2070 3302 | }
|
3303 + | /* ServiceErrorGenerator.kt:203 */
|
2071 3304 | }
|
3305 + | /* ServiceErrorGenerator.kt:202 */
|
2072 3306 | }
|
3307 + | /* ServiceErrorGenerator.kt:174 */
|
2073 3308 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_with_content_encoding::PutWithContentEncodingError, R>>
|
2074 3309 | for Error
|
2075 3310 | where
|
2076 3311 | R: Send + Sync + std::fmt::Debug + 'static,
|
2077 3312 | {
|
3313 + | /* ServiceErrorGenerator.kt:179 */
|
2078 3314 | fn from(
|
2079 3315 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_with_content_encoding::PutWithContentEncodingError, R>,
|
2080 3316 | ) -> Self {
|
3317 + | /* ServiceErrorGenerator.kt:184 */
|
2081 3318 | match err {
|
3319 + | /* ServiceErrorGenerator.kt:185 */
|
2082 3320 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3321 + | /* ServiceErrorGenerator.kt:186 */
|
2083 3322 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2084 3323 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2085 3324 | source: err.into(),
|
2086 3325 | }),
|
3326 + | /* ServiceErrorGenerator.kt:184 */
|
2087 3327 | }
|
3328 + | /* ServiceErrorGenerator.kt:179 */
|
2088 3329 | }
|
3330 + | /* ServiceErrorGenerator.kt:174 */
|
2089 3331 | }
|
3332 + | /* ServiceErrorGenerator.kt:202 */
|
2090 3333 | impl From<crate::operation::put_with_content_encoding::PutWithContentEncodingError> for Error {
|
3334 + | /* ServiceErrorGenerator.kt:203 */
|
2091 3335 | fn from(err: crate::operation::put_with_content_encoding::PutWithContentEncodingError) -> Self {
|
3336 + | /* ServiceErrorGenerator.kt:204 */
|
2092 3337 | match err {
|
3338 + | /* ServiceErrorGenerator.kt:212 */
|
2093 3339 | crate::operation::put_with_content_encoding::PutWithContentEncodingError::Unhandled(inner) => Error::Unhandled(inner),
|
3340 + | /* ServiceErrorGenerator.kt:204 */
|
2094 3341 | }
|
3342 + | /* ServiceErrorGenerator.kt:203 */
|
2095 3343 | }
|
3344 + | /* ServiceErrorGenerator.kt:202 */
|
2096 3345 | }
|
3346 + | /* ServiceErrorGenerator.kt:174 */
|
2097 3347 | impl<R>
|
2098 3348 | From<
|
2099 3349 | ::aws_smithy_runtime_api::client::result::SdkError<
|
2100 3350 | crate::operation::query_idempotency_token_auto_fill::QueryIdempotencyTokenAutoFillError,
|
2101 3351 | R,
|
2102 3352 | >,
|
2103 3353 | > for Error
|
2104 3354 | where
|
2105 3355 | R: Send + Sync + std::fmt::Debug + 'static,
|
2106 3356 | {
|
3357 + | /* ServiceErrorGenerator.kt:179 */
|
2107 3358 | fn from(
|
2108 3359 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
2109 3360 | crate::operation::query_idempotency_token_auto_fill::QueryIdempotencyTokenAutoFillError,
|
2110 3361 | R,
|
2111 3362 | >,
|
2112 3363 | ) -> Self {
|
3364 + | /* ServiceErrorGenerator.kt:184 */
|
2113 3365 | match err {
|
3366 + | /* ServiceErrorGenerator.kt:185 */
|
2114 3367 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3368 + | /* ServiceErrorGenerator.kt:186 */
|
2115 3369 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2116 3370 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2117 3371 | source: err.into(),
|
2118 3372 | }),
|
3373 + | /* ServiceErrorGenerator.kt:184 */
|
2119 3374 | }
|
3375 + | /* ServiceErrorGenerator.kt:179 */
|
2120 3376 | }
|
3377 + | /* ServiceErrorGenerator.kt:174 */
|
2121 3378 | }
|
3379 + | /* ServiceErrorGenerator.kt:202 */
|
2122 3380 | impl From<crate::operation::query_idempotency_token_auto_fill::QueryIdempotencyTokenAutoFillError> for Error {
|
3381 + | /* ServiceErrorGenerator.kt:203 */
|
2123 3382 | fn from(err: crate::operation::query_idempotency_token_auto_fill::QueryIdempotencyTokenAutoFillError) -> Self {
|
3383 + | /* ServiceErrorGenerator.kt:204 */
|
2124 3384 | match err {
|
3385 + | /* ServiceErrorGenerator.kt:212 */
|
2125 3386 | crate::operation::query_idempotency_token_auto_fill::QueryIdempotencyTokenAutoFillError::Unhandled(inner) => Error::Unhandled(inner),
|
3387 + | /* ServiceErrorGenerator.kt:204 */
|
2126 3388 | }
|
3389 + | /* ServiceErrorGenerator.kt:203 */
|
2127 3390 | }
|
3391 + | /* ServiceErrorGenerator.kt:202 */
|
2128 3392 | }
|
3393 + | /* ServiceErrorGenerator.kt:174 */
|
2129 3394 | impl<R>
|
2130 3395 | From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::query_params_as_string_list_map::QueryParamsAsStringListMapError, R>>
|
2131 3396 | for Error
|
2132 3397 | where
|
2133 3398 | R: Send + Sync + std::fmt::Debug + 'static,
|
2134 3399 | {
|
3400 + | /* ServiceErrorGenerator.kt:179 */
|
2135 3401 | fn from(
|
2136 3402 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
2137 3403 | crate::operation::query_params_as_string_list_map::QueryParamsAsStringListMapError,
|
2138 3404 | R,
|
2139 3405 | >,
|
2140 3406 | ) -> Self {
|
3407 + | /* ServiceErrorGenerator.kt:184 */
|
2141 3408 | match err {
|
3409 + | /* ServiceErrorGenerator.kt:185 */
|
2142 3410 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3411 + | /* ServiceErrorGenerator.kt:186 */
|
2143 3412 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2144 3413 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2145 3414 | source: err.into(),
|
2146 3415 | }),
|
3416 + | /* ServiceErrorGenerator.kt:184 */
|
2147 3417 | }
|
3418 + | /* ServiceErrorGenerator.kt:179 */
|
2148 3419 | }
|
3420 + | /* ServiceErrorGenerator.kt:174 */
|
2149 3421 | }
|
3422 + | /* ServiceErrorGenerator.kt:202 */
|
2150 3423 | impl From<crate::operation::query_params_as_string_list_map::QueryParamsAsStringListMapError> for Error {
|
3424 + | /* ServiceErrorGenerator.kt:203 */
|
2151 3425 | fn from(err: crate::operation::query_params_as_string_list_map::QueryParamsAsStringListMapError) -> Self {
|
3426 + | /* ServiceErrorGenerator.kt:204 */
|
2152 3427 | match err {
|
3428 + | /* ServiceErrorGenerator.kt:212 */
|
2153 3429 | crate::operation::query_params_as_string_list_map::QueryParamsAsStringListMapError::Unhandled(inner) => Error::Unhandled(inner),
|
3430 + | /* ServiceErrorGenerator.kt:204 */
|
2154 3431 | }
|
3432 + | /* ServiceErrorGenerator.kt:203 */
|
2155 3433 | }
|
3434 + | /* ServiceErrorGenerator.kt:202 */
|
2156 3435 | }
|
3436 + | /* ServiceErrorGenerator.kt:174 */
|
2157 3437 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::query_precedence::QueryPrecedenceError, R>> for Error
|
2158 3438 | where
|
2159 3439 | R: Send + Sync + std::fmt::Debug + 'static,
|
2160 3440 | {
|
3441 + | /* ServiceErrorGenerator.kt:179 */
|
2161 3442 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::query_precedence::QueryPrecedenceError, R>) -> Self {
|
3443 + | /* ServiceErrorGenerator.kt:184 */
|
2162 3444 | match err {
|
3445 + | /* ServiceErrorGenerator.kt:185 */
|
2163 3446 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3447 + | /* ServiceErrorGenerator.kt:186 */
|
2164 3448 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2165 3449 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2166 3450 | source: err.into(),
|
2167 3451 | }),
|
3452 + | /* ServiceErrorGenerator.kt:184 */
|
2168 3453 | }
|
3454 + | /* ServiceErrorGenerator.kt:179 */
|
2169 3455 | }
|
3456 + | /* ServiceErrorGenerator.kt:174 */
|
2170 3457 | }
|
3458 + | /* ServiceErrorGenerator.kt:202 */
|
2171 3459 | impl From<crate::operation::query_precedence::QueryPrecedenceError> for Error {
|
3460 + | /* ServiceErrorGenerator.kt:203 */
|
2172 3461 | fn from(err: crate::operation::query_precedence::QueryPrecedenceError) -> Self {
|
3462 + | /* ServiceErrorGenerator.kt:204 */
|
2173 3463 | match err {
|
3464 + | /* ServiceErrorGenerator.kt:212 */
|
2174 3465 | crate::operation::query_precedence::QueryPrecedenceError::Unhandled(inner) => Error::Unhandled(inner),
|
3466 + | /* ServiceErrorGenerator.kt:204 */
|
2175 3467 | }
|
3468 + | /* ServiceErrorGenerator.kt:203 */
|
2176 3469 | }
|
3470 + | /* ServiceErrorGenerator.kt:202 */
|
2177 3471 | }
|
3472 + | /* ServiceErrorGenerator.kt:174 */
|
2178 3473 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::recursive_shapes::RecursiveShapesError, R>> for Error
|
2179 3474 | where
|
2180 3475 | R: Send + Sync + std::fmt::Debug + 'static,
|
2181 3476 | {
|
3477 + | /* ServiceErrorGenerator.kt:179 */
|
2182 3478 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::recursive_shapes::RecursiveShapesError, R>) -> Self {
|
3479 + | /* ServiceErrorGenerator.kt:184 */
|
2183 3480 | match err {
|
3481 + | /* ServiceErrorGenerator.kt:185 */
|
2184 3482 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3483 + | /* ServiceErrorGenerator.kt:186 */
|
2185 3484 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2186 3485 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2187 3486 | source: err.into(),
|
2188 3487 | }),
|
3488 + | /* ServiceErrorGenerator.kt:184 */
|
2189 3489 | }
|
3490 + | /* ServiceErrorGenerator.kt:179 */
|
2190 3491 | }
|
3492 + | /* ServiceErrorGenerator.kt:174 */
|
2191 3493 | }
|
3494 + | /* ServiceErrorGenerator.kt:202 */
|
2192 3495 | impl From<crate::operation::recursive_shapes::RecursiveShapesError> for Error {
|
3496 + | /* ServiceErrorGenerator.kt:203 */
|
2193 3497 | fn from(err: crate::operation::recursive_shapes::RecursiveShapesError) -> Self {
|
3498 + | /* ServiceErrorGenerator.kt:204 */
|
2194 3499 | match err {
|
3500 + | /* ServiceErrorGenerator.kt:212 */
|
2195 3501 | crate::operation::recursive_shapes::RecursiveShapesError::Unhandled(inner) => Error::Unhandled(inner),
|
3502 + | /* ServiceErrorGenerator.kt:204 */
|
2196 3503 | }
|
3504 + | /* ServiceErrorGenerator.kt:203 */
|
2197 3505 | }
|
3506 + | /* ServiceErrorGenerator.kt:202 */
|
2198 3507 | }
|
3508 + | /* ServiceErrorGenerator.kt:174 */
|
2199 3509 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::simple_scalar_properties::SimpleScalarPropertiesError, R>> for Error
|
2200 3510 | where
|
2201 3511 | R: Send + Sync + std::fmt::Debug + 'static,
|
2202 3512 | {
|
3513 + | /* ServiceErrorGenerator.kt:179 */
|
2203 3514 | fn from(
|
2204 3515 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::simple_scalar_properties::SimpleScalarPropertiesError, R>,
|
2205 3516 | ) -> Self {
|
3517 + | /* ServiceErrorGenerator.kt:184 */
|
2206 3518 | match err {
|
3519 + | /* ServiceErrorGenerator.kt:185 */
|
2207 3520 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3521 + | /* ServiceErrorGenerator.kt:186 */
|
2208 3522 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2209 3523 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2210 3524 | source: err.into(),
|
2211 3525 | }),
|
3526 + | /* ServiceErrorGenerator.kt:184 */
|
2212 3527 | }
|
3528 + | /* ServiceErrorGenerator.kt:179 */
|
2213 3529 | }
|
3530 + | /* ServiceErrorGenerator.kt:174 */
|
2214 3531 | }
|
3532 + | /* ServiceErrorGenerator.kt:202 */
|
2215 3533 | impl From<crate::operation::simple_scalar_properties::SimpleScalarPropertiesError> for Error {
|
3534 + | /* ServiceErrorGenerator.kt:203 */
|
2216 3535 | fn from(err: crate::operation::simple_scalar_properties::SimpleScalarPropertiesError) -> Self {
|
3536 + | /* ServiceErrorGenerator.kt:204 */
|
2217 3537 | match err {
|
3538 + | /* ServiceErrorGenerator.kt:212 */
|
2218 3539 | crate::operation::simple_scalar_properties::SimpleScalarPropertiesError::Unhandled(inner) => Error::Unhandled(inner),
|
3540 + | /* ServiceErrorGenerator.kt:204 */
|
2219 3541 | }
|
3542 + | /* ServiceErrorGenerator.kt:203 */
|
2220 3543 | }
|
3544 + | /* ServiceErrorGenerator.kt:202 */
|
2221 3545 | }
|
3546 + | /* ServiceErrorGenerator.kt:174 */
|
2222 3547 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::sparse_json_lists::SparseJsonListsError, R>> for Error
|
2223 3548 | where
|
2224 3549 | R: Send + Sync + std::fmt::Debug + 'static,
|
2225 3550 | {
|
3551 + | /* ServiceErrorGenerator.kt:179 */
|
2226 3552 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::sparse_json_lists::SparseJsonListsError, R>) -> Self {
|
3553 + | /* ServiceErrorGenerator.kt:184 */
|
2227 3554 | match err {
|
3555 + | /* ServiceErrorGenerator.kt:185 */
|
2228 3556 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3557 + | /* ServiceErrorGenerator.kt:186 */
|
2229 3558 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2230 3559 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2231 3560 | source: err.into(),
|
2232 3561 | }),
|
3562 + | /* ServiceErrorGenerator.kt:184 */
|
2233 3563 | }
|
3564 + | /* ServiceErrorGenerator.kt:179 */
|
2234 3565 | }
|
3566 + | /* ServiceErrorGenerator.kt:174 */
|
2235 3567 | }
|
3568 + | /* ServiceErrorGenerator.kt:202 */
|
2236 3569 | impl From<crate::operation::sparse_json_lists::SparseJsonListsError> for Error {
|
3570 + | /* ServiceErrorGenerator.kt:203 */
|
2237 3571 | fn from(err: crate::operation::sparse_json_lists::SparseJsonListsError) -> Self {
|
3572 + | /* ServiceErrorGenerator.kt:204 */
|
2238 3573 | match err {
|
3574 + | /* ServiceErrorGenerator.kt:212 */
|
2239 3575 | crate::operation::sparse_json_lists::SparseJsonListsError::Unhandled(inner) => Error::Unhandled(inner),
|
3576 + | /* ServiceErrorGenerator.kt:204 */
|
2240 3577 | }
|
3578 + | /* ServiceErrorGenerator.kt:203 */
|
2241 3579 | }
|
3580 + | /* ServiceErrorGenerator.kt:202 */
|
2242 3581 | }
|
3582 + | /* ServiceErrorGenerator.kt:174 */
|
2243 3583 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::sparse_json_maps::SparseJsonMapsError, R>> for Error
|
2244 3584 | where
|
2245 3585 | R: Send + Sync + std::fmt::Debug + 'static,
|
2246 3586 | {
|
3587 + | /* ServiceErrorGenerator.kt:179 */
|
2247 3588 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::sparse_json_maps::SparseJsonMapsError, R>) -> Self {
|
3589 + | /* ServiceErrorGenerator.kt:184 */
|
2248 3590 | match err {
|
3591 + | /* ServiceErrorGenerator.kt:185 */
|
2249 3592 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3593 + | /* ServiceErrorGenerator.kt:186 */
|
2250 3594 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2251 3595 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2252 3596 | source: err.into(),
|
2253 3597 | }),
|
3598 + | /* ServiceErrorGenerator.kt:184 */
|
2254 3599 | }
|
3600 + | /* ServiceErrorGenerator.kt:179 */
|
2255 3601 | }
|
3602 + | /* ServiceErrorGenerator.kt:174 */
|
2256 3603 | }
|
3604 + | /* ServiceErrorGenerator.kt:202 */
|
2257 3605 | impl From<crate::operation::sparse_json_maps::SparseJsonMapsError> for Error {
|
3606 + | /* ServiceErrorGenerator.kt:203 */
|
2258 3607 | fn from(err: crate::operation::sparse_json_maps::SparseJsonMapsError) -> Self {
|
3608 + | /* ServiceErrorGenerator.kt:204 */
|
2259 3609 | match err {
|
3610 + | /* ServiceErrorGenerator.kt:212 */
|
2260 3611 | crate::operation::sparse_json_maps::SparseJsonMapsError::Unhandled(inner) => Error::Unhandled(inner),
|
3612 + | /* ServiceErrorGenerator.kt:204 */
|
2261 3613 | }
|
3614 + | /* ServiceErrorGenerator.kt:203 */
|
2262 3615 | }
|
3616 + | /* ServiceErrorGenerator.kt:202 */
|
2263 3617 | }
|
3618 + | /* ServiceErrorGenerator.kt:174 */
|
2264 3619 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::streaming_traits::StreamingTraitsError, R>> for Error
|
2265 3620 | where
|
2266 3621 | R: Send + Sync + std::fmt::Debug + 'static,
|
2267 3622 | {
|
3623 + | /* ServiceErrorGenerator.kt:179 */
|
2268 3624 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::streaming_traits::StreamingTraitsError, R>) -> Self {
|
3625 + | /* ServiceErrorGenerator.kt:184 */
|
2269 3626 | match err {
|
3627 + | /* ServiceErrorGenerator.kt:185 */
|
2270 3628 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3629 + | /* ServiceErrorGenerator.kt:186 */
|
2271 3630 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2272 3631 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2273 3632 | source: err.into(),
|
2274 3633 | }),
|
3634 + | /* ServiceErrorGenerator.kt:184 */
|
2275 3635 | }
|
3636 + | /* ServiceErrorGenerator.kt:179 */
|
2276 3637 | }
|
3638 + | /* ServiceErrorGenerator.kt:174 */
|
2277 3639 | }
|
3640 + | /* ServiceErrorGenerator.kt:202 */
|
2278 3641 | impl From<crate::operation::streaming_traits::StreamingTraitsError> for Error {
|
3642 + | /* ServiceErrorGenerator.kt:203 */
|
2279 3643 | fn from(err: crate::operation::streaming_traits::StreamingTraitsError) -> Self {
|
3644 + | /* ServiceErrorGenerator.kt:204 */
|
2280 3645 | match err {
|
3646 + | /* ServiceErrorGenerator.kt:212 */
|
2281 3647 | crate::operation::streaming_traits::StreamingTraitsError::Unhandled(inner) => Error::Unhandled(inner),
|
3648 + | /* ServiceErrorGenerator.kt:204 */
|
2282 3649 | }
|
3650 + | /* ServiceErrorGenerator.kt:203 */
|
2283 3651 | }
|
3652 + | /* ServiceErrorGenerator.kt:202 */
|
2284 3653 | }
|
3654 + | /* ServiceErrorGenerator.kt:174 */
|
2285 3655 | impl<R>
|
2286 3656 | From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::streaming_traits_require_length::StreamingTraitsRequireLengthError, R>>
|
2287 3657 | for Error
|
2288 3658 | where
|
2289 3659 | R: Send + Sync + std::fmt::Debug + 'static,
|
2290 3660 | {
|
3661 + | /* ServiceErrorGenerator.kt:179 */
|
2291 3662 | fn from(
|
2292 3663 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
2293 3664 | crate::operation::streaming_traits_require_length::StreamingTraitsRequireLengthError,
|
2294 3665 | R,
|
2295 3666 | >,
|
2296 3667 | ) -> Self {
|
3668 + | /* ServiceErrorGenerator.kt:184 */
|
2297 3669 | match err {
|
3670 + | /* ServiceErrorGenerator.kt:185 */
|
2298 3671 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3672 + | /* ServiceErrorGenerator.kt:186 */
|
2299 3673 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2300 3674 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2301 3675 | source: err.into(),
|
2302 3676 | }),
|
3677 + | /* ServiceErrorGenerator.kt:184 */
|
2303 3678 | }
|
3679 + | /* ServiceErrorGenerator.kt:179 */
|
2304 3680 | }
|
3681 + | /* ServiceErrorGenerator.kt:174 */
|
2305 3682 | }
|
3683 + | /* ServiceErrorGenerator.kt:202 */
|
2306 3684 | impl From<crate::operation::streaming_traits_require_length::StreamingTraitsRequireLengthError> for Error {
|
3685 + | /* ServiceErrorGenerator.kt:203 */
|
2307 3686 | fn from(err: crate::operation::streaming_traits_require_length::StreamingTraitsRequireLengthError) -> Self {
|
3687 + | /* ServiceErrorGenerator.kt:204 */
|
2308 3688 | match err {
|
3689 + | /* ServiceErrorGenerator.kt:212 */
|
2309 3690 | crate::operation::streaming_traits_require_length::StreamingTraitsRequireLengthError::Unhandled(inner) => Error::Unhandled(inner),
|
3691 + | /* ServiceErrorGenerator.kt:204 */
|
2310 3692 | }
|
3693 + | /* ServiceErrorGenerator.kt:203 */
|
2311 3694 | }
|
3695 + | /* ServiceErrorGenerator.kt:202 */
|
2312 3696 | }
|
3697 + | /* ServiceErrorGenerator.kt:174 */
|
2313 3698 | impl<R>
|
2314 3699 | From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::streaming_traits_with_media_type::StreamingTraitsWithMediaTypeError, R>>
|
2315 3700 | for Error
|
2316 3701 | where
|
2317 3702 | R: Send + Sync + std::fmt::Debug + 'static,
|
2318 3703 | {
|
3704 + | /* ServiceErrorGenerator.kt:179 */
|
2319 3705 | fn from(
|
2320 3706 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
2321 3707 | crate::operation::streaming_traits_with_media_type::StreamingTraitsWithMediaTypeError,
|
2322 3708 | R,
|
2323 3709 | >,
|
2324 3710 | ) -> Self {
|
3711 + | /* ServiceErrorGenerator.kt:184 */
|
2325 3712 | match err {
|
3713 + | /* ServiceErrorGenerator.kt:185 */
|
2326 3714 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3715 + | /* ServiceErrorGenerator.kt:186 */
|
2327 3716 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2328 3717 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2329 3718 | source: err.into(),
|
2330 3719 | }),
|
3720 + | /* ServiceErrorGenerator.kt:184 */
|
2331 3721 | }
|
3722 + | /* ServiceErrorGenerator.kt:179 */
|
2332 3723 | }
|
3724 + | /* ServiceErrorGenerator.kt:174 */
|
2333 3725 | }
|
3726 + | /* ServiceErrorGenerator.kt:202 */
|
2334 3727 | impl From<crate::operation::streaming_traits_with_media_type::StreamingTraitsWithMediaTypeError> for Error {
|
3728 + | /* ServiceErrorGenerator.kt:203 */
|
2335 3729 | fn from(err: crate::operation::streaming_traits_with_media_type::StreamingTraitsWithMediaTypeError) -> Self {
|
3730 + | /* ServiceErrorGenerator.kt:204 */
|
2336 3731 | match err {
|
3732 + | /* ServiceErrorGenerator.kt:212 */
|
2337 3733 | crate::operation::streaming_traits_with_media_type::StreamingTraitsWithMediaTypeError::Unhandled(inner) => Error::Unhandled(inner),
|
3734 + | /* ServiceErrorGenerator.kt:204 */
|
2338 3735 | }
|
3736 + | /* ServiceErrorGenerator.kt:203 */
|
2339 3737 | }
|
3738 + | /* ServiceErrorGenerator.kt:202 */
|
2340 3739 | }
|
3740 + | /* ServiceErrorGenerator.kt:174 */
|
2341 3741 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::test_body_structure::TestBodyStructureError, R>> for Error
|
2342 3742 | where
|
2343 3743 | R: Send + Sync + std::fmt::Debug + 'static,
|
2344 3744 | {
|
3745 + | /* ServiceErrorGenerator.kt:179 */
|
2345 3746 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::test_body_structure::TestBodyStructureError, R>) -> Self {
|
3747 + | /* ServiceErrorGenerator.kt:184 */
|
2346 3748 | match err {
|
3749 + | /* ServiceErrorGenerator.kt:185 */
|
2347 3750 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3751 + | /* ServiceErrorGenerator.kt:186 */
|
2348 3752 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2349 3753 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2350 3754 | source: err.into(),
|
2351 3755 | }),
|
3756 + | /* ServiceErrorGenerator.kt:184 */
|
2352 3757 | }
|
3758 + | /* ServiceErrorGenerator.kt:179 */
|
2353 3759 | }
|
3760 + | /* ServiceErrorGenerator.kt:174 */
|
2354 3761 | }
|
3762 + | /* ServiceErrorGenerator.kt:202 */
|
2355 3763 | impl From<crate::operation::test_body_structure::TestBodyStructureError> for Error {
|
3764 + | /* ServiceErrorGenerator.kt:203 */
|
2356 3765 | fn from(err: crate::operation::test_body_structure::TestBodyStructureError) -> Self {
|
3766 + | /* ServiceErrorGenerator.kt:204 */
|
2357 3767 | match err {
|
3768 + | /* ServiceErrorGenerator.kt:212 */
|
2358 3769 | crate::operation::test_body_structure::TestBodyStructureError::Unhandled(inner) => Error::Unhandled(inner),
|
3770 + | /* ServiceErrorGenerator.kt:204 */
|
2359 3771 | }
|
3772 + | /* ServiceErrorGenerator.kt:203 */
|
2360 3773 | }
|
3774 + | /* ServiceErrorGenerator.kt:202 */
|
2361 3775 | }
|
3776 + | /* ServiceErrorGenerator.kt:174 */
|
2362 3777 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::test_get_no_input_no_payload::TestGetNoInputNoPayloadError, R>>
|
2363 3778 | for Error
|
2364 3779 | where
|
2365 3780 | R: Send + Sync + std::fmt::Debug + 'static,
|
2366 3781 | {
|
3782 + | /* ServiceErrorGenerator.kt:179 */
|
2367 3783 | fn from(
|
2368 3784 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::test_get_no_input_no_payload::TestGetNoInputNoPayloadError, R>,
|
2369 3785 | ) -> Self {
|
3786 + | /* ServiceErrorGenerator.kt:184 */
|
2370 3787 | match err {
|
3788 + | /* ServiceErrorGenerator.kt:185 */
|
2371 3789 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3790 + | /* ServiceErrorGenerator.kt:186 */
|
2372 3791 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2373 3792 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2374 3793 | source: err.into(),
|
2375 3794 | }),
|
3795 + | /* ServiceErrorGenerator.kt:184 */
|
2376 3796 | }
|
3797 + | /* ServiceErrorGenerator.kt:179 */
|
2377 3798 | }
|
3799 + | /* ServiceErrorGenerator.kt:174 */
|
2378 3800 | }
|
3801 + | /* ServiceErrorGenerator.kt:202 */
|
2379 3802 | impl From<crate::operation::test_get_no_input_no_payload::TestGetNoInputNoPayloadError> for Error {
|
3803 + | /* ServiceErrorGenerator.kt:203 */
|
2380 3804 | fn from(err: crate::operation::test_get_no_input_no_payload::TestGetNoInputNoPayloadError) -> Self {
|
3805 + | /* ServiceErrorGenerator.kt:204 */
|
2381 3806 | match err {
|
3807 + | /* ServiceErrorGenerator.kt:212 */
|
2382 3808 | crate::operation::test_get_no_input_no_payload::TestGetNoInputNoPayloadError::Unhandled(inner) => Error::Unhandled(inner),
|
3809 + | /* ServiceErrorGenerator.kt:204 */
|
2383 3810 | }
|
3811 + | /* ServiceErrorGenerator.kt:203 */
|
2384 3812 | }
|
3813 + | /* ServiceErrorGenerator.kt:202 */
|
2385 3814 | }
|
3815 + | /* ServiceErrorGenerator.kt:174 */
|
2386 3816 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::test_get_no_payload::TestGetNoPayloadError, R>> for Error
|
2387 3817 | where
|
2388 3818 | R: Send + Sync + std::fmt::Debug + 'static,
|
2389 3819 | {
|
3820 + | /* ServiceErrorGenerator.kt:179 */
|
2390 3821 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::test_get_no_payload::TestGetNoPayloadError, R>) -> Self {
|
3822 + | /* ServiceErrorGenerator.kt:184 */
|
2391 3823 | match err {
|
3824 + | /* ServiceErrorGenerator.kt:185 */
|
2392 3825 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3826 + | /* ServiceErrorGenerator.kt:186 */
|
2393 3827 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2394 3828 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2395 3829 | source: err.into(),
|
2396 3830 | }),
|
3831 + | /* ServiceErrorGenerator.kt:184 */
|
2397 3832 | }
|
3833 + | /* ServiceErrorGenerator.kt:179 */
|
2398 3834 | }
|
3835 + | /* ServiceErrorGenerator.kt:174 */
|
2399 3836 | }
|
3837 + | /* ServiceErrorGenerator.kt:202 */
|
2400 3838 | impl From<crate::operation::test_get_no_payload::TestGetNoPayloadError> for Error {
|
3839 + | /* ServiceErrorGenerator.kt:203 */
|
2401 3840 | fn from(err: crate::operation::test_get_no_payload::TestGetNoPayloadError) -> Self {
|
3841 + | /* ServiceErrorGenerator.kt:204 */
|
2402 3842 | match err {
|
3843 + | /* ServiceErrorGenerator.kt:212 */
|
2403 3844 | crate::operation::test_get_no_payload::TestGetNoPayloadError::Unhandled(inner) => Error::Unhandled(inner),
|
3845 + | /* ServiceErrorGenerator.kt:204 */
|
2404 3846 | }
|
3847 + | /* ServiceErrorGenerator.kt:203 */
|
2405 3848 | }
|
3849 + | /* ServiceErrorGenerator.kt:202 */
|
2406 3850 | }
|
3851 + | /* ServiceErrorGenerator.kt:174 */
|
2407 3852 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::test_payload_blob::TestPayloadBlobError, R>> for Error
|
2408 3853 | where
|
2409 3854 | R: Send + Sync + std::fmt::Debug + 'static,
|
2410 3855 | {
|
3856 + | /* ServiceErrorGenerator.kt:179 */
|
2411 3857 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::test_payload_blob::TestPayloadBlobError, R>) -> Self {
|
3858 + | /* ServiceErrorGenerator.kt:184 */
|
2412 3859 | match err {
|
3860 + | /* ServiceErrorGenerator.kt:185 */
|
2413 3861 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3862 + | /* ServiceErrorGenerator.kt:186 */
|
2414 3863 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2415 3864 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2416 3865 | source: err.into(),
|
2417 3866 | }),
|
3867 + | /* ServiceErrorGenerator.kt:184 */
|
2418 3868 | }
|
3869 + | /* ServiceErrorGenerator.kt:179 */
|
2419 3870 | }
|
3871 + | /* ServiceErrorGenerator.kt:174 */
|
2420 3872 | }
|
3873 + | /* ServiceErrorGenerator.kt:202 */
|
2421 3874 | impl From<crate::operation::test_payload_blob::TestPayloadBlobError> for Error {
|
3875 + | /* ServiceErrorGenerator.kt:203 */
|
2422 3876 | fn from(err: crate::operation::test_payload_blob::TestPayloadBlobError) -> Self {
|
3877 + | /* ServiceErrorGenerator.kt:204 */
|
2423 3878 | match err {
|
3879 + | /* ServiceErrorGenerator.kt:212 */
|
2424 3880 | crate::operation::test_payload_blob::TestPayloadBlobError::Unhandled(inner) => Error::Unhandled(inner),
|
3881 + | /* ServiceErrorGenerator.kt:204 */
|
2425 3882 | }
|
3883 + | /* ServiceErrorGenerator.kt:203 */
|
2426 3884 | }
|
3885 + | /* ServiceErrorGenerator.kt:202 */
|
2427 3886 | }
|
3887 + | /* ServiceErrorGenerator.kt:174 */
|
2428 3888 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::test_payload_structure::TestPayloadStructureError, R>> for Error
|
2429 3889 | where
|
2430 3890 | R: Send + Sync + std::fmt::Debug + 'static,
|
2431 3891 | {
|
3892 + | /* ServiceErrorGenerator.kt:179 */
|
2432 3893 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::test_payload_structure::TestPayloadStructureError, R>) -> Self {
|
3894 + | /* ServiceErrorGenerator.kt:184 */
|
2433 3895 | match err {
|
3896 + | /* ServiceErrorGenerator.kt:185 */
|
2434 3897 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3898 + | /* ServiceErrorGenerator.kt:186 */
|
2435 3899 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2436 3900 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2437 3901 | source: err.into(),
|
2438 3902 | }),
|
3903 + | /* ServiceErrorGenerator.kt:184 */
|
2439 3904 | }
|
3905 + | /* ServiceErrorGenerator.kt:179 */
|
2440 3906 | }
|
3907 + | /* ServiceErrorGenerator.kt:174 */
|
2441 3908 | }
|
3909 + | /* ServiceErrorGenerator.kt:202 */
|
2442 3910 | impl From<crate::operation::test_payload_structure::TestPayloadStructureError> for Error {
|
3911 + | /* ServiceErrorGenerator.kt:203 */
|
2443 3912 | fn from(err: crate::operation::test_payload_structure::TestPayloadStructureError) -> Self {
|
3913 + | /* ServiceErrorGenerator.kt:204 */
|
2444 3914 | match err {
|
3915 + | /* ServiceErrorGenerator.kt:212 */
|
2445 3916 | crate::operation::test_payload_structure::TestPayloadStructureError::Unhandled(inner) => Error::Unhandled(inner),
|
3917 + | /* ServiceErrorGenerator.kt:204 */
|
2446 3918 | }
|
3919 + | /* ServiceErrorGenerator.kt:203 */
|
2447 3920 | }
|
3921 + | /* ServiceErrorGenerator.kt:202 */
|
2448 3922 | }
|
3923 + | /* ServiceErrorGenerator.kt:174 */
|
2449 3924 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::test_post_no_input_no_payload::TestPostNoInputNoPayloadError, R>>
|
2450 3925 | for Error
|
2451 3926 | where
|
2452 3927 | R: Send + Sync + std::fmt::Debug + 'static,
|
2453 3928 | {
|
3929 + | /* ServiceErrorGenerator.kt:179 */
|
2454 3930 | fn from(
|
2455 3931 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::test_post_no_input_no_payload::TestPostNoInputNoPayloadError, R>,
|
2456 3932 | ) -> Self {
|
3933 + | /* ServiceErrorGenerator.kt:184 */
|
2457 3934 | match err {
|
3935 + | /* ServiceErrorGenerator.kt:185 */
|
2458 3936 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3937 + | /* ServiceErrorGenerator.kt:186 */
|
2459 3938 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2460 3939 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2461 3940 | source: err.into(),
|
2462 3941 | }),
|
3942 + | /* ServiceErrorGenerator.kt:184 */
|
2463 3943 | }
|
3944 + | /* ServiceErrorGenerator.kt:179 */
|
2464 3945 | }
|
3946 + | /* ServiceErrorGenerator.kt:174 */
|
2465 3947 | }
|
3948 + | /* ServiceErrorGenerator.kt:202 */
|
2466 3949 | impl From<crate::operation::test_post_no_input_no_payload::TestPostNoInputNoPayloadError> for Error {
|
3950 + | /* ServiceErrorGenerator.kt:203 */
|
2467 3951 | fn from(err: crate::operation::test_post_no_input_no_payload::TestPostNoInputNoPayloadError) -> Self {
|
3952 + | /* ServiceErrorGenerator.kt:204 */
|
2468 3953 | match err {
|
3954 + | /* ServiceErrorGenerator.kt:212 */
|
2469 3955 | crate::operation::test_post_no_input_no_payload::TestPostNoInputNoPayloadError::Unhandled(inner) => Error::Unhandled(inner),
|
3956 + | /* ServiceErrorGenerator.kt:204 */
|
2470 3957 | }
|
3958 + | /* ServiceErrorGenerator.kt:203 */
|
2471 3959 | }
|
3960 + | /* ServiceErrorGenerator.kt:202 */
|
2472 3961 | }
|
3962 + | /* ServiceErrorGenerator.kt:174 */
|
2473 3963 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::test_post_no_payload::TestPostNoPayloadError, R>> for Error
|
2474 3964 | where
|
2475 3965 | R: Send + Sync + std::fmt::Debug + 'static,
|
2476 3966 | {
|
3967 + | /* ServiceErrorGenerator.kt:179 */
|
2477 3968 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::test_post_no_payload::TestPostNoPayloadError, R>) -> Self {
|
3969 + | /* ServiceErrorGenerator.kt:184 */
|
2478 3970 | match err {
|
3971 + | /* ServiceErrorGenerator.kt:185 */
|
2479 3972 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
3973 + | /* ServiceErrorGenerator.kt:186 */
|
2480 3974 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2481 3975 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2482 3976 | source: err.into(),
|
2483 3977 | }),
|
3978 + | /* ServiceErrorGenerator.kt:184 */
|
2484 3979 | }
|
3980 + | /* ServiceErrorGenerator.kt:179 */
|
2485 3981 | }
|
3982 + | /* ServiceErrorGenerator.kt:174 */
|
2486 3983 | }
|
3984 + | /* ServiceErrorGenerator.kt:202 */
|
2487 3985 | impl From<crate::operation::test_post_no_payload::TestPostNoPayloadError> for Error {
|
3986 + | /* ServiceErrorGenerator.kt:203 */
|
2488 3987 | fn from(err: crate::operation::test_post_no_payload::TestPostNoPayloadError) -> Self {
|
3988 + | /* ServiceErrorGenerator.kt:204 */
|
2489 3989 | match err {
|
3990 + | /* ServiceErrorGenerator.kt:212 */
|
2490 3991 | crate::operation::test_post_no_payload::TestPostNoPayloadError::Unhandled(inner) => Error::Unhandled(inner),
|
3992 + | /* ServiceErrorGenerator.kt:204 */
|
2491 3993 | }
|
3994 + | /* ServiceErrorGenerator.kt:203 */
|
2492 3995 | }
|
3996 + | /* ServiceErrorGenerator.kt:202 */
|
2493 3997 | }
|
3998 + | /* ServiceErrorGenerator.kt:174 */
|
2494 3999 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::timestamp_format_headers::TimestampFormatHeadersError, R>> for Error
|
2495 4000 | where
|
2496 4001 | R: Send + Sync + std::fmt::Debug + 'static,
|
2497 4002 | {
|
4003 + | /* ServiceErrorGenerator.kt:179 */
|
2498 4004 | fn from(
|
2499 4005 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::timestamp_format_headers::TimestampFormatHeadersError, R>,
|
2500 4006 | ) -> Self {
|
4007 + | /* ServiceErrorGenerator.kt:184 */
|
2501 4008 | match err {
|
4009 + | /* ServiceErrorGenerator.kt:185 */
|
2502 4010 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
4011 + | /* ServiceErrorGenerator.kt:186 */
|
2503 4012 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2504 4013 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2505 4014 | source: err.into(),
|
2506 4015 | }),
|
4016 + | /* ServiceErrorGenerator.kt:184 */
|
2507 4017 | }
|
4018 + | /* ServiceErrorGenerator.kt:179 */
|
2508 4019 | }
|
4020 + | /* ServiceErrorGenerator.kt:174 */
|
2509 4021 | }
|
4022 + | /* ServiceErrorGenerator.kt:202 */
|
2510 4023 | impl From<crate::operation::timestamp_format_headers::TimestampFormatHeadersError> for Error {
|
4024 + | /* ServiceErrorGenerator.kt:203 */
|
2511 4025 | fn from(err: crate::operation::timestamp_format_headers::TimestampFormatHeadersError) -> Self {
|
4026 + | /* ServiceErrorGenerator.kt:204 */
|
2512 4027 | match err {
|
4028 + | /* ServiceErrorGenerator.kt:212 */
|
2513 4029 | crate::operation::timestamp_format_headers::TimestampFormatHeadersError::Unhandled(inner) => Error::Unhandled(inner),
|
4030 + | /* ServiceErrorGenerator.kt:204 */
|
2514 4031 | }
|
4032 + | /* ServiceErrorGenerator.kt:203 */
|
2515 4033 | }
|
4034 + | /* ServiceErrorGenerator.kt:202 */
|
2516 4035 | }
|
4036 + | /* ServiceErrorGenerator.kt:174 */
|
2517 4037 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unit_input_and_output::UnitInputAndOutputError, R>> for Error
|
2518 4038 | where
|
2519 4039 | R: Send + Sync + std::fmt::Debug + 'static,
|
2520 4040 | {
|
4041 + | /* ServiceErrorGenerator.kt:179 */
|
2521 4042 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unit_input_and_output::UnitInputAndOutputError, R>) -> Self {
|
4043 + | /* ServiceErrorGenerator.kt:184 */
|
2522 4044 | match err {
|
4045 + | /* ServiceErrorGenerator.kt:185 */
|
2523 4046 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
4047 + | /* ServiceErrorGenerator.kt:186 */
|
2524 4048 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
2525 4049 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
2526 4050 | source: err.into(),
|
2527 4051 | }),
|
4052 + | /* ServiceErrorGenerator.kt:184 */
|
2528 4053 | }
|
4054 + | /* ServiceErrorGenerator.kt:179 */
|
2529 4055 | }
|
4056 + | /* ServiceErrorGenerator.kt:174 */
|
2530 4057 | }
|
4058 + | /* ServiceErrorGenerator.kt:202 */
|
2531 4059 | impl From<crate::operation::unit_input_and_output::UnitInputAndOutputError> for Error {
|
4060 + | /* ServiceErrorGenerator.kt:203 */
|
2532 4061 | fn from(err: crate::operation::unit_input_and_output::UnitInputAndOutputError) -> Self {
|
4062 + | /* ServiceErrorGenerator.kt:204 */
|
2533 4063 | match err {
|
4064 + | /* ServiceErrorGenerator.kt:212 */
|
2534 4065 | crate::operation::unit_input_and_output::UnitInputAndOutputError::Unhandled(inner) => Error::Unhandled(inner),
|
4066 + | /* ServiceErrorGenerator.kt:204 */
|
2535 4067 | }
|
4068 + | /* ServiceErrorGenerator.kt:203 */
|
2536 4069 | }
|
4070 + | /* ServiceErrorGenerator.kt:202 */
|
2537 4071 | }
|
4072 + | /* ServiceErrorGenerator.kt:115 */
|
2538 4073 | impl ::std::error::Error for Error {
|
4074 + | /* ServiceErrorGenerator.kt:116 */
|
2539 4075 | fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
|
4076 + | /* ServiceErrorGenerator.kt:117 */
|
2540 4077 | match self {
|
2541 - | Error::ComplexError(inner) => inner.source(),
|
2542 - | Error::FooError(inner) => inner.source(),
|
2543 - | Error::InvalidGreeting(inner) => inner.source(),
|
2544 - | Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
|
4078 + | /* ServiceErrorGenerator.kt:119 */ Error::ComplexError(inner) => inner.source(),
|
4079 + | /* ServiceErrorGenerator.kt:119 */ Error::FooError(inner) => inner.source(),
|
4080 + | /* ServiceErrorGenerator.kt:119 */ Error::InvalidGreeting(inner) => inner.source(),
|
4081 + | /* ServiceErrorGenerator.kt:121 */
|
4082 + | Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source), /* ServiceErrorGenerator.kt:117 */
|
2545 4083 | }
|
4084 + | /* ServiceErrorGenerator.kt:116 */
|
2546 4085 | }
|
4086 + | /* ServiceErrorGenerator.kt:115 */
|
2547 4087 | }
|