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 is thrown when an invalid greeting value is provided.
|
12 + | /// /* ServiceErrorGenerator.kt:259 */This error is thrown when an invalid greeting value is provided.
|
13 + | /* ServiceErrorGenerator.kt:262 */
|
9 14 | InvalidGreeting(crate::types::error::InvalidGreeting),
|
10 - | /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
|
15 + | /// /* ServiceErrorGenerator.kt:264 */An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
|
16 + | /* ServiceErrorGenerator.kt:320 */
|
11 17 | #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
|
12 18 | variable wildcard pattern and check `.code()`:
|
13 19 | \
|
14 20 | `err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
|
15 21 | \
|
16 22 | See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-Error) for what information is available for the error.")]
|
17 - | Unhandled(crate::error::sealed_unhandled::Unhandled),
|
23 + | /* ServiceErrorGenerator.kt:266 */
|
24 + | Unhandled(crate::error::sealed_unhandled::Unhandled), /* ServiceErrorGenerator.kt:257 */
|
18 25 | }
|
26 + | /* ServiceErrorGenerator.kt:131 */
|
19 27 | impl ::std::fmt::Display for Error {
|
28 + | /* ServiceErrorGenerator.kt:132 */
|
20 29 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
30 + | /* ServiceErrorGenerator.kt:133 */
|
21 31 | match self {
|
22 - | Error::ComplexError(inner) => inner.fmt(f),
|
23 - | Error::InvalidGreeting(inner) => inner.fmt(f),
|
32 + | /* ServiceErrorGenerator.kt:135 */ Error::ComplexError(inner) => inner.fmt(f),
|
33 + | /* ServiceErrorGenerator.kt:135 */ Error::InvalidGreeting(inner) => inner.fmt(f),
|
34 + | /* ServiceErrorGenerator.kt:137 */
|
24 35 | Error::Unhandled(_) => {
|
25 36 | if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
|
26 37 | write!(f, "unhandled error ({code})")
|
27 38 | } else {
|
28 39 | f.write_str("unhandled error")
|
29 40 | }
|
30 - | }
|
41 + | } /* ServiceErrorGenerator.kt:133 */
|
31 42 | }
|
43 + | /* ServiceErrorGenerator.kt:132 */
|
32 44 | }
|
45 + | /* ServiceErrorGenerator.kt:131 */
|
33 46 | }
|
47 + | /* ServiceErrorGenerator.kt:154 */
|
34 48 | impl From<::aws_smithy_types::error::operation::BuildError> for Error {
|
35 49 | fn from(value: ::aws_smithy_types::error::operation::BuildError) -> Self {
|
36 50 | Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
37 51 | source: value.into(),
|
38 52 | meta: ::std::default::Default::default(),
|
39 53 | })
|
40 54 | }
|
41 55 | }
|
56 + | /* ServiceErrorGenerator.kt:223 */
|
42 57 | impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for Error {
|
43 58 | fn meta(&self) -> &::aws_smithy_types::error::metadata::ErrorMetadata {
|
44 59 | match self {
|
45 60 | Self::ComplexError(inner) => inner.meta(),
|
46 61 | Self::InvalidGreeting(inner) => inner.meta(),
|
47 62 | Self::Unhandled(inner) => &inner.meta,
|
48 63 | }
|
49 64 | }
|
50 65 | }
|
66 + | /* ServiceErrorGenerator.kt:174 */
|
51 67 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::all_query_string_types::AllQueryStringTypesError, R>> for Error
|
52 68 | where
|
53 69 | R: Send + Sync + std::fmt::Debug + 'static,
|
54 70 | {
|
71 + | /* ServiceErrorGenerator.kt:179 */
|
55 72 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::all_query_string_types::AllQueryStringTypesError, R>) -> Self {
|
73 + | /* ServiceErrorGenerator.kt:184 */
|
56 74 | match err {
|
75 + | /* ServiceErrorGenerator.kt:185 */
|
57 76 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
77 + | /* ServiceErrorGenerator.kt:186 */
|
58 78 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
59 79 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
60 80 | source: err.into(),
|
61 81 | }),
|
82 + | /* ServiceErrorGenerator.kt:184 */
|
62 83 | }
|
84 + | /* ServiceErrorGenerator.kt:179 */
|
63 85 | }
|
86 + | /* ServiceErrorGenerator.kt:174 */
|
64 87 | }
|
88 + | /* ServiceErrorGenerator.kt:202 */
|
65 89 | impl From<crate::operation::all_query_string_types::AllQueryStringTypesError> for Error {
|
90 + | /* ServiceErrorGenerator.kt:203 */
|
66 91 | fn from(err: crate::operation::all_query_string_types::AllQueryStringTypesError) -> Self {
|
92 + | /* ServiceErrorGenerator.kt:204 */
|
67 93 | match err {
|
94 + | /* ServiceErrorGenerator.kt:212 */
|
68 95 | crate::operation::all_query_string_types::AllQueryStringTypesError::Unhandled(inner) => Error::Unhandled(inner),
|
96 + | /* ServiceErrorGenerator.kt:204 */
|
69 97 | }
|
98 + | /* ServiceErrorGenerator.kt:203 */
|
70 99 | }
|
100 + | /* ServiceErrorGenerator.kt:202 */
|
71 101 | }
|
102 + | /* ServiceErrorGenerator.kt:174 */
|
72 103 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::body_with_xml_name::BodyWithXmlNameError, R>> for Error
|
73 104 | where
|
74 105 | R: Send + Sync + std::fmt::Debug + 'static,
|
75 106 | {
|
107 + | /* ServiceErrorGenerator.kt:179 */
|
76 108 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::body_with_xml_name::BodyWithXmlNameError, R>) -> Self {
|
109 + | /* ServiceErrorGenerator.kt:184 */
|
77 110 | match err {
|
111 + | /* ServiceErrorGenerator.kt:185 */
|
78 112 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
113 + | /* ServiceErrorGenerator.kt:186 */
|
79 114 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
80 115 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
81 116 | source: err.into(),
|
82 117 | }),
|
118 + | /* ServiceErrorGenerator.kt:184 */
|
83 119 | }
|
120 + | /* ServiceErrorGenerator.kt:179 */
|
84 121 | }
|
122 + | /* ServiceErrorGenerator.kt:174 */
|
85 123 | }
|
124 + | /* ServiceErrorGenerator.kt:202 */
|
86 125 | impl From<crate::operation::body_with_xml_name::BodyWithXmlNameError> for Error {
|
126 + | /* ServiceErrorGenerator.kt:203 */
|
87 127 | fn from(err: crate::operation::body_with_xml_name::BodyWithXmlNameError) -> Self {
|
128 + | /* ServiceErrorGenerator.kt:204 */
|
88 129 | match err {
|
130 + | /* ServiceErrorGenerator.kt:212 */
|
89 131 | crate::operation::body_with_xml_name::BodyWithXmlNameError::Unhandled(inner) => Error::Unhandled(inner),
|
132 + | /* ServiceErrorGenerator.kt:204 */
|
90 133 | }
|
134 + | /* ServiceErrorGenerator.kt:203 */
|
91 135 | }
|
136 + | /* ServiceErrorGenerator.kt:202 */
|
92 137 | }
|
138 + | /* ServiceErrorGenerator.kt:174 */
|
93 139 | impl<R>
|
94 140 | From<
|
95 141 | ::aws_smithy_runtime_api::client::result::SdkError<
|
96 142 | crate::operation::constant_and_variable_query_string::ConstantAndVariableQueryStringError,
|
97 143 | R,
|
98 144 | >,
|
99 145 | > for Error
|
100 146 | where
|
101 147 | R: Send + Sync + std::fmt::Debug + 'static,
|
102 148 | {
|
149 + | /* ServiceErrorGenerator.kt:179 */
|
103 150 | fn from(
|
104 151 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
105 152 | crate::operation::constant_and_variable_query_string::ConstantAndVariableQueryStringError,
|
106 153 | R,
|
107 154 | >,
|
108 155 | ) -> Self {
|
156 + | /* ServiceErrorGenerator.kt:184 */
|
109 157 | match err {
|
158 + | /* ServiceErrorGenerator.kt:185 */
|
110 159 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
160 + | /* ServiceErrorGenerator.kt:186 */
|
111 161 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
112 162 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
113 163 | source: err.into(),
|
114 164 | }),
|
165 + | /* ServiceErrorGenerator.kt:184 */
|
115 166 | }
|
167 + | /* ServiceErrorGenerator.kt:179 */
|
116 168 | }
|
169 + | /* ServiceErrorGenerator.kt:174 */
|
117 170 | }
|
171 + | /* ServiceErrorGenerator.kt:202 */
|
118 172 | impl From<crate::operation::constant_and_variable_query_string::ConstantAndVariableQueryStringError> for Error {
|
173 + | /* ServiceErrorGenerator.kt:203 */
|
119 174 | fn from(err: crate::operation::constant_and_variable_query_string::ConstantAndVariableQueryStringError) -> Self {
|
175 + | /* ServiceErrorGenerator.kt:204 */
|
120 176 | match err {
|
177 + | /* ServiceErrorGenerator.kt:212 */
|
121 178 | crate::operation::constant_and_variable_query_string::ConstantAndVariableQueryStringError::Unhandled(inner) => Error::Unhandled(inner),
|
179 + | /* ServiceErrorGenerator.kt:204 */
|
122 180 | }
|
181 + | /* ServiceErrorGenerator.kt:203 */
|
123 182 | }
|
183 + | /* ServiceErrorGenerator.kt:202 */
|
124 184 | }
|
185 + | /* ServiceErrorGenerator.kt:174 */
|
125 186 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::constant_query_string::ConstantQueryStringError, R>> for Error
|
126 187 | where
|
127 188 | R: Send + Sync + std::fmt::Debug + 'static,
|
128 189 | {
|
190 + | /* ServiceErrorGenerator.kt:179 */
|
129 191 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::constant_query_string::ConstantQueryStringError, R>) -> Self {
|
192 + | /* ServiceErrorGenerator.kt:184 */
|
130 193 | match err {
|
194 + | /* ServiceErrorGenerator.kt:185 */
|
131 195 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
196 + | /* ServiceErrorGenerator.kt:186 */
|
132 197 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
133 198 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
134 199 | source: err.into(),
|
135 200 | }),
|
201 + | /* ServiceErrorGenerator.kt:184 */
|
136 202 | }
|
203 + | /* ServiceErrorGenerator.kt:179 */
|
137 204 | }
|
205 + | /* ServiceErrorGenerator.kt:174 */
|
138 206 | }
|
207 + | /* ServiceErrorGenerator.kt:202 */
|
139 208 | impl From<crate::operation::constant_query_string::ConstantQueryStringError> for Error {
|
209 + | /* ServiceErrorGenerator.kt:203 */
|
140 210 | fn from(err: crate::operation::constant_query_string::ConstantQueryStringError) -> Self {
|
211 + | /* ServiceErrorGenerator.kt:204 */
|
141 212 | match err {
|
213 + | /* ServiceErrorGenerator.kt:212 */
|
142 214 | crate::operation::constant_query_string::ConstantQueryStringError::Unhandled(inner) => Error::Unhandled(inner),
|
215 + | /* ServiceErrorGenerator.kt:204 */
|
143 216 | }
|
217 + | /* ServiceErrorGenerator.kt:203 */
|
144 218 | }
|
219 + | /* ServiceErrorGenerator.kt:202 */
|
145 220 | }
|
221 + | /* ServiceErrorGenerator.kt:174 */
|
146 222 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::content_type_parameters::ContentTypeParametersError, R>> for Error
|
147 223 | where
|
148 224 | R: Send + Sync + std::fmt::Debug + 'static,
|
149 225 | {
|
226 + | /* ServiceErrorGenerator.kt:179 */
|
150 227 | fn from(
|
151 228 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::content_type_parameters::ContentTypeParametersError, R>,
|
152 229 | ) -> Self {
|
230 + | /* ServiceErrorGenerator.kt:184 */
|
153 231 | match err {
|
232 + | /* ServiceErrorGenerator.kt:185 */
|
154 233 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
234 + | /* ServiceErrorGenerator.kt:186 */
|
155 235 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
156 236 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
157 237 | source: err.into(),
|
158 238 | }),
|
239 + | /* ServiceErrorGenerator.kt:184 */
|
159 240 | }
|
241 + | /* ServiceErrorGenerator.kt:179 */
|
160 242 | }
|
243 + | /* ServiceErrorGenerator.kt:174 */
|
161 244 | }
|
245 + | /* ServiceErrorGenerator.kt:202 */
|
162 246 | impl From<crate::operation::content_type_parameters::ContentTypeParametersError> for Error {
|
247 + | /* ServiceErrorGenerator.kt:203 */
|
163 248 | fn from(err: crate::operation::content_type_parameters::ContentTypeParametersError) -> Self {
|
249 + | /* ServiceErrorGenerator.kt:204 */
|
164 250 | match err {
|
251 + | /* ServiceErrorGenerator.kt:212 */
|
165 252 | crate::operation::content_type_parameters::ContentTypeParametersError::Unhandled(inner) => Error::Unhandled(inner),
|
253 + | /* ServiceErrorGenerator.kt:204 */
|
166 254 | }
|
255 + | /* ServiceErrorGenerator.kt:203 */
|
167 256 | }
|
257 + | /* ServiceErrorGenerator.kt:202 */
|
168 258 | }
|
259 + | /* ServiceErrorGenerator.kt:174 */
|
169 260 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::datetime_offsets::DatetimeOffsetsError, R>> for Error
|
170 261 | where
|
171 262 | R: Send + Sync + std::fmt::Debug + 'static,
|
172 263 | {
|
264 + | /* ServiceErrorGenerator.kt:179 */
|
173 265 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::datetime_offsets::DatetimeOffsetsError, R>) -> Self {
|
266 + | /* ServiceErrorGenerator.kt:184 */
|
174 267 | match err {
|
268 + | /* ServiceErrorGenerator.kt:185 */
|
175 269 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
270 + | /* ServiceErrorGenerator.kt:186 */
|
176 271 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
177 272 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
178 273 | source: err.into(),
|
179 274 | }),
|
275 + | /* ServiceErrorGenerator.kt:184 */
|
180 276 | }
|
277 + | /* ServiceErrorGenerator.kt:179 */
|
181 278 | }
|
279 + | /* ServiceErrorGenerator.kt:174 */
|
182 280 | }
|
281 + | /* ServiceErrorGenerator.kt:202 */
|
183 282 | impl From<crate::operation::datetime_offsets::DatetimeOffsetsError> for Error {
|
283 + | /* ServiceErrorGenerator.kt:203 */
|
184 284 | fn from(err: crate::operation::datetime_offsets::DatetimeOffsetsError) -> Self {
|
285 + | /* ServiceErrorGenerator.kt:204 */
|
185 286 | match err {
|
287 + | /* ServiceErrorGenerator.kt:212 */
|
186 288 | crate::operation::datetime_offsets::DatetimeOffsetsError::Unhandled(inner) => Error::Unhandled(inner),
|
289 + | /* ServiceErrorGenerator.kt:204 */
|
187 290 | }
|
291 + | /* ServiceErrorGenerator.kt:203 */
|
188 292 | }
|
293 + | /* ServiceErrorGenerator.kt:202 */
|
189 294 | }
|
295 + | /* ServiceErrorGenerator.kt:174 */
|
190 296 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::empty_input_and_empty_output::EmptyInputAndEmptyOutputError, R>>
|
191 297 | for Error
|
192 298 | where
|
193 299 | R: Send + Sync + std::fmt::Debug + 'static,
|
194 300 | {
|
301 + | /* ServiceErrorGenerator.kt:179 */
|
195 302 | fn from(
|
196 303 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::empty_input_and_empty_output::EmptyInputAndEmptyOutputError, R>,
|
197 304 | ) -> Self {
|
305 + | /* ServiceErrorGenerator.kt:184 */
|
198 306 | match err {
|
307 + | /* ServiceErrorGenerator.kt:185 */
|
199 308 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
309 + | /* ServiceErrorGenerator.kt:186 */
|
200 310 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
201 311 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
202 312 | source: err.into(),
|
203 313 | }),
|
314 + | /* ServiceErrorGenerator.kt:184 */
|
204 315 | }
|
316 + | /* ServiceErrorGenerator.kt:179 */
|
205 317 | }
|
318 + | /* ServiceErrorGenerator.kt:174 */
|
206 319 | }
|
320 + | /* ServiceErrorGenerator.kt:202 */
|
207 321 | impl From<crate::operation::empty_input_and_empty_output::EmptyInputAndEmptyOutputError> for Error {
|
322 + | /* ServiceErrorGenerator.kt:203 */
|
208 323 | fn from(err: crate::operation::empty_input_and_empty_output::EmptyInputAndEmptyOutputError) -> Self {
|
324 + | /* ServiceErrorGenerator.kt:204 */
|
209 325 | match err {
|
326 + | /* ServiceErrorGenerator.kt:212 */
|
210 327 | crate::operation::empty_input_and_empty_output::EmptyInputAndEmptyOutputError::Unhandled(inner) => Error::Unhandled(inner),
|
328 + | /* ServiceErrorGenerator.kt:204 */
|
211 329 | }
|
330 + | /* ServiceErrorGenerator.kt:203 */
|
212 331 | }
|
332 + | /* ServiceErrorGenerator.kt:202 */
|
213 333 | }
|
334 + | /* ServiceErrorGenerator.kt:174 */
|
214 335 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::endpoint_operation::EndpointOperationError, R>> for Error
|
215 336 | where
|
216 337 | R: Send + Sync + std::fmt::Debug + 'static,
|
217 338 | {
|
339 + | /* ServiceErrorGenerator.kt:179 */
|
218 340 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::endpoint_operation::EndpointOperationError, R>) -> Self {
|
341 + | /* ServiceErrorGenerator.kt:184 */
|
219 342 | match err {
|
343 + | /* ServiceErrorGenerator.kt:185 */
|
220 344 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
345 + | /* ServiceErrorGenerator.kt:186 */
|
221 346 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
222 347 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
223 348 | source: err.into(),
|
224 349 | }),
|
350 + | /* ServiceErrorGenerator.kt:184 */
|
225 351 | }
|
352 + | /* ServiceErrorGenerator.kt:179 */
|
226 353 | }
|
354 + | /* ServiceErrorGenerator.kt:174 */
|
227 355 | }
|
356 + | /* ServiceErrorGenerator.kt:202 */
|
228 357 | impl From<crate::operation::endpoint_operation::EndpointOperationError> for Error {
|
358 + | /* ServiceErrorGenerator.kt:203 */
|
229 359 | fn from(err: crate::operation::endpoint_operation::EndpointOperationError) -> Self {
|
360 + | /* ServiceErrorGenerator.kt:204 */
|
230 361 | match err {
|
362 + | /* ServiceErrorGenerator.kt:212 */
|
231 363 | crate::operation::endpoint_operation::EndpointOperationError::Unhandled(inner) => Error::Unhandled(inner),
|
364 + | /* ServiceErrorGenerator.kt:204 */
|
232 365 | }
|
366 + | /* ServiceErrorGenerator.kt:203 */
|
233 367 | }
|
368 + | /* ServiceErrorGenerator.kt:202 */
|
234 369 | }
|
370 + | /* ServiceErrorGenerator.kt:174 */
|
235 371 | impl<R>
|
236 372 | From<
|
237 373 | ::aws_smithy_runtime_api::client::result::SdkError<
|
238 374 | crate::operation::endpoint_with_host_label_header_operation::EndpointWithHostLabelHeaderOperationError,
|
239 375 | R,
|
240 376 | >,
|
241 377 | > for Error
|
242 378 | where
|
243 379 | R: Send + Sync + std::fmt::Debug + 'static,
|
244 380 | {
|
381 + | /* ServiceErrorGenerator.kt:179 */
|
245 382 | fn from(
|
246 383 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
247 384 | crate::operation::endpoint_with_host_label_header_operation::EndpointWithHostLabelHeaderOperationError,
|
248 385 | R,
|
249 386 | >,
|
250 387 | ) -> Self {
|
388 + | /* ServiceErrorGenerator.kt:184 */
|
251 389 | match err {
|
390 + | /* ServiceErrorGenerator.kt:185 */
|
252 391 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
392 + | /* ServiceErrorGenerator.kt:186 */
|
253 393 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
254 394 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
255 395 | source: err.into(),
|
256 396 | }),
|
397 + | /* ServiceErrorGenerator.kt:184 */
|
257 398 | }
|
399 + | /* ServiceErrorGenerator.kt:179 */
|
258 400 | }
|
401 + | /* ServiceErrorGenerator.kt:174 */
|
259 402 | }
|
403 + | /* ServiceErrorGenerator.kt:202 */
|
260 404 | impl From<crate::operation::endpoint_with_host_label_header_operation::EndpointWithHostLabelHeaderOperationError> for Error {
|
405 + | /* ServiceErrorGenerator.kt:203 */
|
261 406 | fn from(err: crate::operation::endpoint_with_host_label_header_operation::EndpointWithHostLabelHeaderOperationError) -> Self {
|
407 + | /* ServiceErrorGenerator.kt:204 */
|
262 408 | match err {
|
409 + | /* ServiceErrorGenerator.kt:212 */
|
263 410 | crate::operation::endpoint_with_host_label_header_operation::EndpointWithHostLabelHeaderOperationError::Unhandled(inner) => {
|
264 411 | Error::Unhandled(inner)
|
265 412 | }
|
413 + | /* ServiceErrorGenerator.kt:204 */
|
266 414 | }
|
415 + | /* ServiceErrorGenerator.kt:203 */
|
267 416 | }
|
417 + | /* ServiceErrorGenerator.kt:202 */
|
268 418 | }
|
419 + | /* ServiceErrorGenerator.kt:174 */
|
269 420 | impl<R>
|
270 421 | From<
|
271 422 | ::aws_smithy_runtime_api::client::result::SdkError<
|
272 423 | crate::operation::endpoint_with_host_label_operation::EndpointWithHostLabelOperationError,
|
273 424 | R,
|
274 425 | >,
|
275 426 | > for Error
|
276 427 | where
|
277 428 | R: Send + Sync + std::fmt::Debug + 'static,
|
278 429 | {
|
430 + | /* ServiceErrorGenerator.kt:179 */
|
279 431 | fn from(
|
280 432 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
281 433 | crate::operation::endpoint_with_host_label_operation::EndpointWithHostLabelOperationError,
|
282 434 | R,
|
283 435 | >,
|
284 436 | ) -> Self {
|
437 + | /* ServiceErrorGenerator.kt:184 */
|
285 438 | match err {
|
439 + | /* ServiceErrorGenerator.kt:185 */
|
286 440 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
441 + | /* ServiceErrorGenerator.kt:186 */
|
287 442 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
288 443 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
289 444 | source: err.into(),
|
290 445 | }),
|
446 + | /* ServiceErrorGenerator.kt:184 */
|
291 447 | }
|
448 + | /* ServiceErrorGenerator.kt:179 */
|
292 449 | }
|
450 + | /* ServiceErrorGenerator.kt:174 */
|
293 451 | }
|
452 + | /* ServiceErrorGenerator.kt:202 */
|
294 453 | impl From<crate::operation::endpoint_with_host_label_operation::EndpointWithHostLabelOperationError> for Error {
|
454 + | /* ServiceErrorGenerator.kt:203 */
|
295 455 | fn from(err: crate::operation::endpoint_with_host_label_operation::EndpointWithHostLabelOperationError) -> Self {
|
456 + | /* ServiceErrorGenerator.kt:204 */
|
296 457 | match err {
|
458 + | /* ServiceErrorGenerator.kt:212 */
|
297 459 | crate::operation::endpoint_with_host_label_operation::EndpointWithHostLabelOperationError::Unhandled(inner) => Error::Unhandled(inner),
|
460 + | /* ServiceErrorGenerator.kt:204 */
|
298 461 | }
|
462 + | /* ServiceErrorGenerator.kt:203 */
|
299 463 | }
|
464 + | /* ServiceErrorGenerator.kt:202 */
|
300 465 | }
|
466 + | /* ServiceErrorGenerator.kt:174 */
|
301 467 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::flattened_xml_map::FlattenedXmlMapError, R>> for Error
|
302 468 | where
|
303 469 | R: Send + Sync + std::fmt::Debug + 'static,
|
304 470 | {
|
471 + | /* ServiceErrorGenerator.kt:179 */
|
305 472 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::flattened_xml_map::FlattenedXmlMapError, R>) -> Self {
|
473 + | /* ServiceErrorGenerator.kt:184 */
|
306 474 | match err {
|
475 + | /* ServiceErrorGenerator.kt:185 */
|
307 476 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
477 + | /* ServiceErrorGenerator.kt:186 */
|
308 478 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
309 479 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
310 480 | source: err.into(),
|
311 481 | }),
|
482 + | /* ServiceErrorGenerator.kt:184 */
|
312 483 | }
|
484 + | /* ServiceErrorGenerator.kt:179 */
|
313 485 | }
|
486 + | /* ServiceErrorGenerator.kt:174 */
|
314 487 | }
|
488 + | /* ServiceErrorGenerator.kt:202 */
|
315 489 | impl From<crate::operation::flattened_xml_map::FlattenedXmlMapError> for Error {
|
490 + | /* ServiceErrorGenerator.kt:203 */
|
316 491 | fn from(err: crate::operation::flattened_xml_map::FlattenedXmlMapError) -> Self {
|
492 + | /* ServiceErrorGenerator.kt:204 */
|
317 493 | match err {
|
494 + | /* ServiceErrorGenerator.kt:212 */
|
318 495 | crate::operation::flattened_xml_map::FlattenedXmlMapError::Unhandled(inner) => Error::Unhandled(inner),
|
496 + | /* ServiceErrorGenerator.kt:204 */
|
319 497 | }
|
498 + | /* ServiceErrorGenerator.kt:203 */
|
320 499 | }
|
500 + | /* ServiceErrorGenerator.kt:202 */
|
321 501 | }
|
502 + | /* ServiceErrorGenerator.kt:174 */
|
322 503 | impl<R>
|
323 504 | From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::flattened_xml_map_with_xml_name::FlattenedXmlMapWithXmlNameError, R>>
|
324 505 | for Error
|
325 506 | where
|
326 507 | R: Send + Sync + std::fmt::Debug + 'static,
|
327 508 | {
|
509 + | /* ServiceErrorGenerator.kt:179 */
|
328 510 | fn from(
|
329 511 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
330 512 | crate::operation::flattened_xml_map_with_xml_name::FlattenedXmlMapWithXmlNameError,
|
331 513 | R,
|
332 514 | >,
|
333 515 | ) -> Self {
|
516 + | /* ServiceErrorGenerator.kt:184 */
|
334 517 | match err {
|
518 + | /* ServiceErrorGenerator.kt:185 */
|
335 519 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
520 + | /* ServiceErrorGenerator.kt:186 */
|
336 521 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
337 522 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
338 523 | source: err.into(),
|
339 524 | }),
|
525 + | /* ServiceErrorGenerator.kt:184 */
|
340 526 | }
|
527 + | /* ServiceErrorGenerator.kt:179 */
|
341 528 | }
|
529 + | /* ServiceErrorGenerator.kt:174 */
|
342 530 | }
|
531 + | /* ServiceErrorGenerator.kt:202 */
|
343 532 | impl From<crate::operation::flattened_xml_map_with_xml_name::FlattenedXmlMapWithXmlNameError> for Error {
|
533 + | /* ServiceErrorGenerator.kt:203 */
|
344 534 | fn from(err: crate::operation::flattened_xml_map_with_xml_name::FlattenedXmlMapWithXmlNameError) -> Self {
|
535 + | /* ServiceErrorGenerator.kt:204 */
|
345 536 | match err {
|
537 + | /* ServiceErrorGenerator.kt:212 */
|
346 538 | crate::operation::flattened_xml_map_with_xml_name::FlattenedXmlMapWithXmlNameError::Unhandled(inner) => Error::Unhandled(inner),
|
539 + | /* ServiceErrorGenerator.kt:204 */
|
347 540 | }
|
541 + | /* ServiceErrorGenerator.kt:203 */
|
348 542 | }
|
543 + | /* ServiceErrorGenerator.kt:202 */
|
349 544 | }
|
545 + | /* ServiceErrorGenerator.kt:174 */
|
350 546 | impl<R>
|
351 547 | From<
|
352 548 | ::aws_smithy_runtime_api::client::result::SdkError<
|
353 549 | crate::operation::flattened_xml_map_with_xml_namespace::FlattenedXmlMapWithXmlNamespaceError,
|
354 550 | R,
|
355 551 | >,
|
356 552 | > for Error
|
357 553 | where
|
358 554 | R: Send + Sync + std::fmt::Debug + 'static,
|
359 555 | {
|
556 + | /* ServiceErrorGenerator.kt:179 */
|
360 557 | fn from(
|
361 558 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
362 559 | crate::operation::flattened_xml_map_with_xml_namespace::FlattenedXmlMapWithXmlNamespaceError,
|
363 560 | R,
|
364 561 | >,
|
365 562 | ) -> Self {
|
563 + | /* ServiceErrorGenerator.kt:184 */
|
366 564 | match err {
|
565 + | /* ServiceErrorGenerator.kt:185 */
|
367 566 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
567 + | /* ServiceErrorGenerator.kt:186 */
|
368 568 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
369 569 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
370 570 | source: err.into(),
|
371 571 | }),
|
572 + | /* ServiceErrorGenerator.kt:184 */
|
372 573 | }
|
574 + | /* ServiceErrorGenerator.kt:179 */
|
373 575 | }
|
576 + | /* ServiceErrorGenerator.kt:174 */
|
374 577 | }
|
578 + | /* ServiceErrorGenerator.kt:202 */
|
375 579 | impl From<crate::operation::flattened_xml_map_with_xml_namespace::FlattenedXmlMapWithXmlNamespaceError> for Error {
|
580 + | /* ServiceErrorGenerator.kt:203 */
|
376 581 | fn from(err: crate::operation::flattened_xml_map_with_xml_namespace::FlattenedXmlMapWithXmlNamespaceError) -> Self {
|
582 + | /* ServiceErrorGenerator.kt:204 */
|
377 583 | match err {
|
584 + | /* ServiceErrorGenerator.kt:212 */
|
378 585 | crate::operation::flattened_xml_map_with_xml_namespace::FlattenedXmlMapWithXmlNamespaceError::Unhandled(inner) => Error::Unhandled(inner),
|
586 + | /* ServiceErrorGenerator.kt:204 */
|
379 587 | }
|
588 + | /* ServiceErrorGenerator.kt:203 */
|
380 589 | }
|
590 + | /* ServiceErrorGenerator.kt:202 */
|
381 591 | }
|
592 + | /* ServiceErrorGenerator.kt:174 */
|
382 593 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::fractional_seconds::FractionalSecondsError, R>> for Error
|
383 594 | where
|
384 595 | R: Send + Sync + std::fmt::Debug + 'static,
|
385 596 | {
|
597 + | /* ServiceErrorGenerator.kt:179 */
|
386 598 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::fractional_seconds::FractionalSecondsError, R>) -> Self {
|
599 + | /* ServiceErrorGenerator.kt:184 */
|
387 600 | match err {
|
601 + | /* ServiceErrorGenerator.kt:185 */
|
388 602 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
603 + | /* ServiceErrorGenerator.kt:186 */
|
389 604 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
390 605 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
391 606 | source: err.into(),
|
392 607 | }),
|
608 + | /* ServiceErrorGenerator.kt:184 */
|
393 609 | }
|
610 + | /* ServiceErrorGenerator.kt:179 */
|
394 611 | }
|
612 + | /* ServiceErrorGenerator.kt:174 */
|
395 613 | }
|
614 + | /* ServiceErrorGenerator.kt:202 */
|
396 615 | impl From<crate::operation::fractional_seconds::FractionalSecondsError> for Error {
|
616 + | /* ServiceErrorGenerator.kt:203 */
|
397 617 | fn from(err: crate::operation::fractional_seconds::FractionalSecondsError) -> Self {
|
618 + | /* ServiceErrorGenerator.kt:204 */
|
398 619 | match err {
|
620 + | /* ServiceErrorGenerator.kt:212 */
|
399 621 | crate::operation::fractional_seconds::FractionalSecondsError::Unhandled(inner) => Error::Unhandled(inner),
|
622 + | /* ServiceErrorGenerator.kt:204 */
|
400 623 | }
|
624 + | /* ServiceErrorGenerator.kt:203 */
|
401 625 | }
|
626 + | /* ServiceErrorGenerator.kt:202 */
|
402 627 | }
|
628 + | /* ServiceErrorGenerator.kt:174 */
|
403 629 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::greeting_with_errors::GreetingWithErrorsError, R>> for Error
|
404 630 | where
|
405 631 | R: Send + Sync + std::fmt::Debug + 'static,
|
406 632 | {
|
633 + | /* ServiceErrorGenerator.kt:179 */
|
407 634 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::greeting_with_errors::GreetingWithErrorsError, R>) -> Self {
|
635 + | /* ServiceErrorGenerator.kt:184 */
|
408 636 | match err {
|
637 + | /* ServiceErrorGenerator.kt:185 */
|
409 638 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
639 + | /* ServiceErrorGenerator.kt:186 */
|
410 640 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
411 641 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
412 642 | source: err.into(),
|
413 643 | }),
|
644 + | /* ServiceErrorGenerator.kt:184 */
|
414 645 | }
|
646 + | /* ServiceErrorGenerator.kt:179 */
|
415 647 | }
|
648 + | /* ServiceErrorGenerator.kt:174 */
|
416 649 | }
|
650 + | /* ServiceErrorGenerator.kt:202 */
|
417 651 | impl From<crate::operation::greeting_with_errors::GreetingWithErrorsError> for Error {
|
652 + | /* ServiceErrorGenerator.kt:203 */
|
418 653 | fn from(err: crate::operation::greeting_with_errors::GreetingWithErrorsError) -> Self {
|
654 + | /* ServiceErrorGenerator.kt:204 */
|
419 655 | match err {
|
656 + | /* ServiceErrorGenerator.kt:207 */
|
420 657 | crate::operation::greeting_with_errors::GreetingWithErrorsError::InvalidGreeting(inner) => Error::InvalidGreeting(inner),
|
658 + | /* ServiceErrorGenerator.kt:207 */
|
421 659 | crate::operation::greeting_with_errors::GreetingWithErrorsError::ComplexError(inner) => Error::ComplexError(inner),
|
660 + | /* ServiceErrorGenerator.kt:212 */
|
422 661 | crate::operation::greeting_with_errors::GreetingWithErrorsError::Unhandled(inner) => Error::Unhandled(inner),
|
662 + | /* ServiceErrorGenerator.kt:204 */
|
423 663 | }
|
664 + | /* ServiceErrorGenerator.kt:203 */
|
424 665 | }
|
666 + | /* ServiceErrorGenerator.kt:202 */
|
425 667 | }
|
668 + | /* ServiceErrorGenerator.kt:174 */
|
426 669 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_enum_payload::HttpEnumPayloadError, R>> for Error
|
427 670 | where
|
428 671 | R: Send + Sync + std::fmt::Debug + 'static,
|
429 672 | {
|
673 + | /* ServiceErrorGenerator.kt:179 */
|
430 674 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_enum_payload::HttpEnumPayloadError, R>) -> Self {
|
675 + | /* ServiceErrorGenerator.kt:184 */
|
431 676 | match err {
|
677 + | /* ServiceErrorGenerator.kt:185 */
|
432 678 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
679 + | /* ServiceErrorGenerator.kt:186 */
|
433 680 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
434 681 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
435 682 | source: err.into(),
|
436 683 | }),
|
684 + | /* ServiceErrorGenerator.kt:184 */
|
437 685 | }
|
686 + | /* ServiceErrorGenerator.kt:179 */
|
438 687 | }
|
688 + | /* ServiceErrorGenerator.kt:174 */
|
439 689 | }
|
690 + | /* ServiceErrorGenerator.kt:202 */
|
440 691 | impl From<crate::operation::http_enum_payload::HttpEnumPayloadError> for Error {
|
692 + | /* ServiceErrorGenerator.kt:203 */
|
441 693 | fn from(err: crate::operation::http_enum_payload::HttpEnumPayloadError) -> Self {
|
694 + | /* ServiceErrorGenerator.kt:204 */
|
442 695 | match err {
|
696 + | /* ServiceErrorGenerator.kt:212 */
|
443 697 | crate::operation::http_enum_payload::HttpEnumPayloadError::Unhandled(inner) => Error::Unhandled(inner),
|
698 + | /* ServiceErrorGenerator.kt:204 */
|
444 699 | }
|
700 + | /* ServiceErrorGenerator.kt:203 */
|
445 701 | }
|
702 + | /* ServiceErrorGenerator.kt:202 */
|
446 703 | }
|
704 + | /* ServiceErrorGenerator.kt:174 */
|
447 705 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_payload_traits::HttpPayloadTraitsError, R>> for Error
|
448 706 | where
|
449 707 | R: Send + Sync + std::fmt::Debug + 'static,
|
450 708 | {
|
709 + | /* ServiceErrorGenerator.kt:179 */
|
451 710 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_payload_traits::HttpPayloadTraitsError, R>) -> Self {
|
711 + | /* ServiceErrorGenerator.kt:184 */
|
452 712 | match err {
|
713 + | /* ServiceErrorGenerator.kt:185 */
|
453 714 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
715 + | /* ServiceErrorGenerator.kt:186 */
|
454 716 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
455 717 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
456 718 | source: err.into(),
|
457 719 | }),
|
720 + | /* ServiceErrorGenerator.kt:184 */
|
458 721 | }
|
722 + | /* ServiceErrorGenerator.kt:179 */
|
459 723 | }
|
724 + | /* ServiceErrorGenerator.kt:174 */
|
460 725 | }
|
726 + | /* ServiceErrorGenerator.kt:202 */
|
461 727 | impl From<crate::operation::http_payload_traits::HttpPayloadTraitsError> for Error {
|
728 + | /* ServiceErrorGenerator.kt:203 */
|
462 729 | fn from(err: crate::operation::http_payload_traits::HttpPayloadTraitsError) -> Self {
|
730 + | /* ServiceErrorGenerator.kt:204 */
|
463 731 | match err {
|
732 + | /* ServiceErrorGenerator.kt:212 */
|
464 733 | crate::operation::http_payload_traits::HttpPayloadTraitsError::Unhandled(inner) => Error::Unhandled(inner),
|
734 + | /* ServiceErrorGenerator.kt:204 */
|
465 735 | }
|
736 + | /* ServiceErrorGenerator.kt:203 */
|
466 737 | }
|
738 + | /* ServiceErrorGenerator.kt:202 */
|
467 739 | }
|
740 + | /* ServiceErrorGenerator.kt:174 */
|
468 741 | impl<R>
|
469 742 | From<
|
470 743 | ::aws_smithy_runtime_api::client::result::SdkError<
|
471 744 | crate::operation::http_payload_traits_with_media_type::HttpPayloadTraitsWithMediaTypeError,
|
472 745 | R,
|
473 746 | >,
|
474 747 | > for Error
|
475 748 | where
|
476 749 | R: Send + Sync + std::fmt::Debug + 'static,
|
477 750 | {
|
751 + | /* ServiceErrorGenerator.kt:179 */
|
478 752 | fn from(
|
479 753 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
480 754 | crate::operation::http_payload_traits_with_media_type::HttpPayloadTraitsWithMediaTypeError,
|
481 755 | R,
|
482 756 | >,
|
483 757 | ) -> Self {
|
758 + | /* ServiceErrorGenerator.kt:184 */
|
484 759 | match err {
|
760 + | /* ServiceErrorGenerator.kt:185 */
|
485 761 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
762 + | /* ServiceErrorGenerator.kt:186 */
|
486 763 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
487 764 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
488 765 | source: err.into(),
|
489 766 | }),
|
767 + | /* ServiceErrorGenerator.kt:184 */
|
490 768 | }
|
769 + | /* ServiceErrorGenerator.kt:179 */
|
491 770 | }
|
771 + | /* ServiceErrorGenerator.kt:174 */
|
492 772 | }
|
773 + | /* ServiceErrorGenerator.kt:202 */
|
493 774 | impl From<crate::operation::http_payload_traits_with_media_type::HttpPayloadTraitsWithMediaTypeError> for Error {
|
775 + | /* ServiceErrorGenerator.kt:203 */
|
494 776 | fn from(err: crate::operation::http_payload_traits_with_media_type::HttpPayloadTraitsWithMediaTypeError) -> Self {
|
777 + | /* ServiceErrorGenerator.kt:204 */
|
495 778 | match err {
|
779 + | /* ServiceErrorGenerator.kt:212 */
|
496 780 | crate::operation::http_payload_traits_with_media_type::HttpPayloadTraitsWithMediaTypeError::Unhandled(inner) => Error::Unhandled(inner),
|
781 + | /* ServiceErrorGenerator.kt:204 */
|
497 782 | }
|
783 + | /* ServiceErrorGenerator.kt:203 */
|
498 784 | }
|
785 + | /* ServiceErrorGenerator.kt:202 */
|
499 786 | }
|
787 + | /* ServiceErrorGenerator.kt:174 */
|
500 788 | impl<R>
|
501 789 | From<
|
502 790 | ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_payload_with_member_xml_name::HttpPayloadWithMemberXmlNameError, R>,
|
503 791 | > for Error
|
504 792 | where
|
505 793 | R: Send + Sync + std::fmt::Debug + 'static,
|
506 794 | {
|
795 + | /* ServiceErrorGenerator.kt:179 */
|
507 796 | fn from(
|
508 797 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
509 798 | crate::operation::http_payload_with_member_xml_name::HttpPayloadWithMemberXmlNameError,
|
510 799 | R,
|
511 800 | >,
|
512 801 | ) -> Self {
|
802 + | /* ServiceErrorGenerator.kt:184 */
|
513 803 | match err {
|
804 + | /* ServiceErrorGenerator.kt:185 */
|
514 805 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
806 + | /* ServiceErrorGenerator.kt:186 */
|
515 807 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
516 808 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
517 809 | source: err.into(),
|
518 810 | }),
|
811 + | /* ServiceErrorGenerator.kt:184 */
|
519 812 | }
|
813 + | /* ServiceErrorGenerator.kt:179 */
|
520 814 | }
|
815 + | /* ServiceErrorGenerator.kt:174 */
|
521 816 | }
|
817 + | /* ServiceErrorGenerator.kt:202 */
|
522 818 | impl From<crate::operation::http_payload_with_member_xml_name::HttpPayloadWithMemberXmlNameError> for Error {
|
819 + | /* ServiceErrorGenerator.kt:203 */
|
523 820 | fn from(err: crate::operation::http_payload_with_member_xml_name::HttpPayloadWithMemberXmlNameError) -> Self {
|
821 + | /* ServiceErrorGenerator.kt:204 */
|
524 822 | match err {
|
823 + | /* ServiceErrorGenerator.kt:212 */
|
525 824 | crate::operation::http_payload_with_member_xml_name::HttpPayloadWithMemberXmlNameError::Unhandled(inner) => Error::Unhandled(inner),
|
825 + | /* ServiceErrorGenerator.kt:204 */
|
526 826 | }
|
827 + | /* ServiceErrorGenerator.kt:203 */
|
527 828 | }
|
829 + | /* ServiceErrorGenerator.kt:202 */
|
528 830 | }
|
831 + | /* ServiceErrorGenerator.kt:174 */
|
529 832 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_payload_with_structure::HttpPayloadWithStructureError, R>>
|
530 833 | for Error
|
531 834 | where
|
532 835 | R: Send + Sync + std::fmt::Debug + 'static,
|
533 836 | {
|
837 + | /* ServiceErrorGenerator.kt:179 */
|
534 838 | fn from(
|
535 839 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_payload_with_structure::HttpPayloadWithStructureError, R>,
|
536 840 | ) -> Self {
|
841 + | /* ServiceErrorGenerator.kt:184 */
|
537 842 | match err {
|
843 + | /* ServiceErrorGenerator.kt:185 */
|
538 844 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
845 + | /* ServiceErrorGenerator.kt:186 */
|
539 846 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
540 847 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
541 848 | source: err.into(),
|
542 849 | }),
|
850 + | /* ServiceErrorGenerator.kt:184 */
|
543 851 | }
|
852 + | /* ServiceErrorGenerator.kt:179 */
|
544 853 | }
|
854 + | /* ServiceErrorGenerator.kt:174 */
|
545 855 | }
|
856 + | /* ServiceErrorGenerator.kt:202 */
|
546 857 | impl From<crate::operation::http_payload_with_structure::HttpPayloadWithStructureError> for Error {
|
858 + | /* ServiceErrorGenerator.kt:203 */
|
547 859 | fn from(err: crate::operation::http_payload_with_structure::HttpPayloadWithStructureError) -> Self {
|
860 + | /* ServiceErrorGenerator.kt:204 */
|
548 861 | match err {
|
862 + | /* ServiceErrorGenerator.kt:212 */
|
549 863 | crate::operation::http_payload_with_structure::HttpPayloadWithStructureError::Unhandled(inner) => Error::Unhandled(inner),
|
864 + | /* ServiceErrorGenerator.kt:204 */
|
550 865 | }
|
866 + | /* ServiceErrorGenerator.kt:203 */
|
551 867 | }
|
868 + | /* ServiceErrorGenerator.kt:202 */
|
552 869 | }
|
870 + | /* ServiceErrorGenerator.kt:174 */
|
553 871 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_payload_with_union::HttpPayloadWithUnionError, R>> for Error
|
554 872 | where
|
555 873 | R: Send + Sync + std::fmt::Debug + 'static,
|
556 874 | {
|
875 + | /* ServiceErrorGenerator.kt:179 */
|
557 876 | fn from(
|
558 877 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_payload_with_union::HttpPayloadWithUnionError, R>,
|
559 878 | ) -> Self {
|
879 + | /* ServiceErrorGenerator.kt:184 */
|
560 880 | match err {
|
881 + | /* ServiceErrorGenerator.kt:185 */
|
561 882 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
883 + | /* ServiceErrorGenerator.kt:186 */
|
562 884 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
563 885 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
564 886 | source: err.into(),
|
565 887 | }),
|
888 + | /* ServiceErrorGenerator.kt:184 */
|
566 889 | }
|
890 + | /* ServiceErrorGenerator.kt:179 */
|
567 891 | }
|
892 + | /* ServiceErrorGenerator.kt:174 */
|
568 893 | }
|
894 + | /* ServiceErrorGenerator.kt:202 */
|
569 895 | impl From<crate::operation::http_payload_with_union::HttpPayloadWithUnionError> for Error {
|
896 + | /* ServiceErrorGenerator.kt:203 */
|
570 897 | fn from(err: crate::operation::http_payload_with_union::HttpPayloadWithUnionError) -> Self {
|
898 + | /* ServiceErrorGenerator.kt:204 */
|
571 899 | match err {
|
900 + | /* ServiceErrorGenerator.kt:212 */
|
572 901 | crate::operation::http_payload_with_union::HttpPayloadWithUnionError::Unhandled(inner) => Error::Unhandled(inner),
|
902 + | /* ServiceErrorGenerator.kt:204 */
|
573 903 | }
|
904 + | /* ServiceErrorGenerator.kt:203 */
|
574 905 | }
|
906 + | /* ServiceErrorGenerator.kt:202 */
|
575 907 | }
|
908 + | /* ServiceErrorGenerator.kt:174 */
|
576 909 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_payload_with_xml_name::HttpPayloadWithXmlNameError, R>>
|
577 910 | for Error
|
578 911 | where
|
579 912 | R: Send + Sync + std::fmt::Debug + 'static,
|
580 913 | {
|
914 + | /* ServiceErrorGenerator.kt:179 */
|
581 915 | fn from(
|
582 916 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_payload_with_xml_name::HttpPayloadWithXmlNameError, R>,
|
583 917 | ) -> Self {
|
918 + | /* ServiceErrorGenerator.kt:184 */
|
584 919 | match err {
|
920 + | /* ServiceErrorGenerator.kt:185 */
|
585 921 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
922 + | /* ServiceErrorGenerator.kt:186 */
|
586 923 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
587 924 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
588 925 | source: err.into(),
|
589 926 | }),
|
927 + | /* ServiceErrorGenerator.kt:184 */
|
590 928 | }
|
929 + | /* ServiceErrorGenerator.kt:179 */
|
591 930 | }
|
931 + | /* ServiceErrorGenerator.kt:174 */
|
592 932 | }
|
933 + | /* ServiceErrorGenerator.kt:202 */
|
593 934 | impl From<crate::operation::http_payload_with_xml_name::HttpPayloadWithXmlNameError> for Error {
|
935 + | /* ServiceErrorGenerator.kt:203 */
|
594 936 | fn from(err: crate::operation::http_payload_with_xml_name::HttpPayloadWithXmlNameError) -> Self {
|
937 + | /* ServiceErrorGenerator.kt:204 */
|
595 938 | match err {
|
939 + | /* ServiceErrorGenerator.kt:212 */
|
596 940 | crate::operation::http_payload_with_xml_name::HttpPayloadWithXmlNameError::Unhandled(inner) => Error::Unhandled(inner),
|
941 + | /* ServiceErrorGenerator.kt:204 */
|
597 942 | }
|
943 + | /* ServiceErrorGenerator.kt:203 */
|
598 944 | }
|
945 + | /* ServiceErrorGenerator.kt:202 */
|
599 946 | }
|
947 + | /* ServiceErrorGenerator.kt:174 */
|
600 948 | impl<R>
|
601 949 | From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_payload_with_xml_namespace::HttpPayloadWithXmlNamespaceError, R>>
|
602 950 | for Error
|
603 951 | where
|
604 952 | R: Send + Sync + std::fmt::Debug + 'static,
|
605 953 | {
|
954 + | /* ServiceErrorGenerator.kt:179 */
|
606 955 | fn from(
|
607 956 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
608 957 | crate::operation::http_payload_with_xml_namespace::HttpPayloadWithXmlNamespaceError,
|
609 958 | R,
|
610 959 | >,
|
611 960 | ) -> Self {
|
961 + | /* ServiceErrorGenerator.kt:184 */
|
612 962 | match err {
|
963 + | /* ServiceErrorGenerator.kt:185 */
|
613 964 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
965 + | /* ServiceErrorGenerator.kt:186 */
|
614 966 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
615 967 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
616 968 | source: err.into(),
|
617 969 | }),
|
970 + | /* ServiceErrorGenerator.kt:184 */
|
618 971 | }
|
972 + | /* ServiceErrorGenerator.kt:179 */
|
619 973 | }
|
974 + | /* ServiceErrorGenerator.kt:174 */
|
620 975 | }
|
976 + | /* ServiceErrorGenerator.kt:202 */
|
621 977 | impl From<crate::operation::http_payload_with_xml_namespace::HttpPayloadWithXmlNamespaceError> for Error {
|
978 + | /* ServiceErrorGenerator.kt:203 */
|
622 979 | fn from(err: crate::operation::http_payload_with_xml_namespace::HttpPayloadWithXmlNamespaceError) -> Self {
|
980 + | /* ServiceErrorGenerator.kt:204 */
|
623 981 | match err {
|
982 + | /* ServiceErrorGenerator.kt:212 */
|
624 983 | crate::operation::http_payload_with_xml_namespace::HttpPayloadWithXmlNamespaceError::Unhandled(inner) => Error::Unhandled(inner),
|
984 + | /* ServiceErrorGenerator.kt:204 */
|
625 985 | }
|
986 + | /* ServiceErrorGenerator.kt:203 */
|
626 987 | }
|
988 + | /* ServiceErrorGenerator.kt:202 */
|
627 989 | }
|
990 + | /* ServiceErrorGenerator.kt:174 */
|
628 991 | impl<R>
|
629 992 | From<
|
630 993 | ::aws_smithy_runtime_api::client::result::SdkError<
|
631 994 | crate::operation::http_payload_with_xml_namespace_and_prefix::HttpPayloadWithXmlNamespaceAndPrefixError,
|
632 995 | R,
|
633 996 | >,
|
634 997 | > for Error
|
635 998 | where
|
636 999 | R: Send + Sync + std::fmt::Debug + 'static,
|
637 1000 | {
|
1001 + | /* ServiceErrorGenerator.kt:179 */
|
638 1002 | fn from(
|
639 1003 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
640 1004 | crate::operation::http_payload_with_xml_namespace_and_prefix::HttpPayloadWithXmlNamespaceAndPrefixError,
|
641 1005 | R,
|
642 1006 | >,
|
643 1007 | ) -> Self {
|
1008 + | /* ServiceErrorGenerator.kt:184 */
|
644 1009 | match err {
|
1010 + | /* ServiceErrorGenerator.kt:185 */
|
645 1011 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1012 + | /* ServiceErrorGenerator.kt:186 */
|
646 1013 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
647 1014 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
648 1015 | source: err.into(),
|
649 1016 | }),
|
1017 + | /* ServiceErrorGenerator.kt:184 */
|
650 1018 | }
|
1019 + | /* ServiceErrorGenerator.kt:179 */
|
651 1020 | }
|
1021 + | /* ServiceErrorGenerator.kt:174 */
|
652 1022 | }
|
1023 + | /* ServiceErrorGenerator.kt:202 */
|
653 1024 | impl From<crate::operation::http_payload_with_xml_namespace_and_prefix::HttpPayloadWithXmlNamespaceAndPrefixError> for Error {
|
1025 + | /* ServiceErrorGenerator.kt:203 */
|
654 1026 | fn from(err: crate::operation::http_payload_with_xml_namespace_and_prefix::HttpPayloadWithXmlNamespaceAndPrefixError) -> Self {
|
1027 + | /* ServiceErrorGenerator.kt:204 */
|
655 1028 | match err {
|
1029 + | /* ServiceErrorGenerator.kt:212 */
|
656 1030 | crate::operation::http_payload_with_xml_namespace_and_prefix::HttpPayloadWithXmlNamespaceAndPrefixError::Unhandled(inner) => {
|
657 1031 | Error::Unhandled(inner)
|
658 1032 | }
|
1033 + | /* ServiceErrorGenerator.kt:204 */
|
659 1034 | }
|
1035 + | /* ServiceErrorGenerator.kt:203 */
|
660 1036 | }
|
1037 + | /* ServiceErrorGenerator.kt:202 */
|
661 1038 | }
|
1039 + | /* ServiceErrorGenerator.kt:174 */
|
662 1040 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_prefix_headers::HttpPrefixHeadersError, R>> for Error
|
663 1041 | where
|
664 1042 | R: Send + Sync + std::fmt::Debug + 'static,
|
665 1043 | {
|
1044 + | /* ServiceErrorGenerator.kt:179 */
|
666 1045 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_prefix_headers::HttpPrefixHeadersError, R>) -> Self {
|
1046 + | /* ServiceErrorGenerator.kt:184 */
|
667 1047 | match err {
|
1048 + | /* ServiceErrorGenerator.kt:185 */
|
668 1049 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1050 + | /* ServiceErrorGenerator.kt:186 */
|
669 1051 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
670 1052 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
671 1053 | source: err.into(),
|
672 1054 | }),
|
1055 + | /* ServiceErrorGenerator.kt:184 */
|
673 1056 | }
|
1057 + | /* ServiceErrorGenerator.kt:179 */
|
674 1058 | }
|
1059 + | /* ServiceErrorGenerator.kt:174 */
|
675 1060 | }
|
1061 + | /* ServiceErrorGenerator.kt:202 */
|
676 1062 | impl From<crate::operation::http_prefix_headers::HttpPrefixHeadersError> for Error {
|
1063 + | /* ServiceErrorGenerator.kt:203 */
|
677 1064 | fn from(err: crate::operation::http_prefix_headers::HttpPrefixHeadersError) -> Self {
|
1065 + | /* ServiceErrorGenerator.kt:204 */
|
678 1066 | match err {
|
1067 + | /* ServiceErrorGenerator.kt:212 */
|
679 1068 | crate::operation::http_prefix_headers::HttpPrefixHeadersError::Unhandled(inner) => Error::Unhandled(inner),
|
1069 + | /* ServiceErrorGenerator.kt:204 */
|
680 1070 | }
|
1071 + | /* ServiceErrorGenerator.kt:203 */
|
681 1072 | }
|
1073 + | /* ServiceErrorGenerator.kt:202 */
|
682 1074 | }
|
1075 + | /* ServiceErrorGenerator.kt:174 */
|
683 1076 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_request_with_float_labels::HttpRequestWithFloatLabelsError, R>>
|
684 1077 | for Error
|
685 1078 | where
|
686 1079 | R: Send + Sync + std::fmt::Debug + 'static,
|
687 1080 | {
|
1081 + | /* ServiceErrorGenerator.kt:179 */
|
688 1082 | fn from(
|
689 1083 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_request_with_float_labels::HttpRequestWithFloatLabelsError, R>,
|
690 1084 | ) -> Self {
|
1085 + | /* ServiceErrorGenerator.kt:184 */
|
691 1086 | match err {
|
1087 + | /* ServiceErrorGenerator.kt:185 */
|
692 1088 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1089 + | /* ServiceErrorGenerator.kt:186 */
|
693 1090 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
694 1091 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
695 1092 | source: err.into(),
|
696 1093 | }),
|
1094 + | /* ServiceErrorGenerator.kt:184 */
|
697 1095 | }
|
1096 + | /* ServiceErrorGenerator.kt:179 */
|
698 1097 | }
|
1098 + | /* ServiceErrorGenerator.kt:174 */
|
699 1099 | }
|
1100 + | /* ServiceErrorGenerator.kt:202 */
|
700 1101 | impl From<crate::operation::http_request_with_float_labels::HttpRequestWithFloatLabelsError> for Error {
|
1102 + | /* ServiceErrorGenerator.kt:203 */
|
701 1103 | fn from(err: crate::operation::http_request_with_float_labels::HttpRequestWithFloatLabelsError) -> Self {
|
1104 + | /* ServiceErrorGenerator.kt:204 */
|
702 1105 | match err {
|
1106 + | /* ServiceErrorGenerator.kt:212 */
|
703 1107 | crate::operation::http_request_with_float_labels::HttpRequestWithFloatLabelsError::Unhandled(inner) => Error::Unhandled(inner),
|
1108 + | /* ServiceErrorGenerator.kt:204 */
|
704 1109 | }
|
1110 + | /* ServiceErrorGenerator.kt:203 */
|
705 1111 | }
|
1112 + | /* ServiceErrorGenerator.kt:202 */
|
706 1113 | }
|
1114 + | /* ServiceErrorGenerator.kt:174 */
|
707 1115 | impl<R>
|
708 1116 | From<
|
709 1117 | ::aws_smithy_runtime_api::client::result::SdkError<
|
710 1118 | crate::operation::http_request_with_greedy_label_in_path::HttpRequestWithGreedyLabelInPathError,
|
711 1119 | R,
|
712 1120 | >,
|
713 1121 | > for Error
|
714 1122 | where
|
715 1123 | R: Send + Sync + std::fmt::Debug + 'static,
|
716 1124 | {
|
1125 + | /* ServiceErrorGenerator.kt:179 */
|
717 1126 | fn from(
|
718 1127 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
719 1128 | crate::operation::http_request_with_greedy_label_in_path::HttpRequestWithGreedyLabelInPathError,
|
720 1129 | R,
|
721 1130 | >,
|
722 1131 | ) -> Self {
|
1132 + | /* ServiceErrorGenerator.kt:184 */
|
723 1133 | match err {
|
1134 + | /* ServiceErrorGenerator.kt:185 */
|
724 1135 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1136 + | /* ServiceErrorGenerator.kt:186 */
|
725 1137 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
726 1138 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
727 1139 | source: err.into(),
|
728 1140 | }),
|
1141 + | /* ServiceErrorGenerator.kt:184 */
|
729 1142 | }
|
1143 + | /* ServiceErrorGenerator.kt:179 */
|
730 1144 | }
|
1145 + | /* ServiceErrorGenerator.kt:174 */
|
731 1146 | }
|
1147 + | /* ServiceErrorGenerator.kt:202 */
|
732 1148 | impl From<crate::operation::http_request_with_greedy_label_in_path::HttpRequestWithGreedyLabelInPathError> for Error {
|
1149 + | /* ServiceErrorGenerator.kt:203 */
|
733 1150 | fn from(err: crate::operation::http_request_with_greedy_label_in_path::HttpRequestWithGreedyLabelInPathError) -> Self {
|
1151 + | /* ServiceErrorGenerator.kt:204 */
|
734 1152 | match err {
|
1153 + | /* ServiceErrorGenerator.kt:212 */
|
735 1154 | crate::operation::http_request_with_greedy_label_in_path::HttpRequestWithGreedyLabelInPathError::Unhandled(inner) => {
|
736 1155 | Error::Unhandled(inner)
|
737 1156 | }
|
1157 + | /* ServiceErrorGenerator.kt:204 */
|
738 1158 | }
|
1159 + | /* ServiceErrorGenerator.kt:203 */
|
739 1160 | }
|
1161 + | /* ServiceErrorGenerator.kt:202 */
|
740 1162 | }
|
1163 + | /* ServiceErrorGenerator.kt:174 */
|
741 1164 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_request_with_labels::HttpRequestWithLabelsError, R>> for Error
|
742 1165 | where
|
743 1166 | R: Send + Sync + std::fmt::Debug + 'static,
|
744 1167 | {
|
1168 + | /* ServiceErrorGenerator.kt:179 */
|
745 1169 | fn from(
|
746 1170 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_request_with_labels::HttpRequestWithLabelsError, R>,
|
747 1171 | ) -> Self {
|
1172 + | /* ServiceErrorGenerator.kt:184 */
|
748 1173 | match err {
|
1174 + | /* ServiceErrorGenerator.kt:185 */
|
749 1175 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1176 + | /* ServiceErrorGenerator.kt:186 */
|
750 1177 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
751 1178 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
752 1179 | source: err.into(),
|
753 1180 | }),
|
1181 + | /* ServiceErrorGenerator.kt:184 */
|
754 1182 | }
|
1183 + | /* ServiceErrorGenerator.kt:179 */
|
755 1184 | }
|
1185 + | /* ServiceErrorGenerator.kt:174 */
|
756 1186 | }
|
1187 + | /* ServiceErrorGenerator.kt:202 */
|
757 1188 | impl From<crate::operation::http_request_with_labels::HttpRequestWithLabelsError> for Error {
|
1189 + | /* ServiceErrorGenerator.kt:203 */
|
758 1190 | fn from(err: crate::operation::http_request_with_labels::HttpRequestWithLabelsError) -> Self {
|
1191 + | /* ServiceErrorGenerator.kt:204 */
|
759 1192 | match err {
|
1193 + | /* ServiceErrorGenerator.kt:212 */
|
760 1194 | crate::operation::http_request_with_labels::HttpRequestWithLabelsError::Unhandled(inner) => Error::Unhandled(inner),
|
1195 + | /* ServiceErrorGenerator.kt:204 */
|
761 1196 | }
|
1197 + | /* ServiceErrorGenerator.kt:203 */
|
762 1198 | }
|
1199 + | /* ServiceErrorGenerator.kt:202 */
|
763 1200 | }
|
1201 + | /* ServiceErrorGenerator.kt:174 */
|
764 1202 | impl<R>
|
765 1203 | From<
|
766 1204 | ::aws_smithy_runtime_api::client::result::SdkError<
|
767 1205 | crate::operation::http_request_with_labels_and_timestamp_format::HttpRequestWithLabelsAndTimestampFormatError,
|
768 1206 | R,
|
769 1207 | >,
|
770 1208 | > for Error
|
771 1209 | where
|
772 1210 | R: Send + Sync + std::fmt::Debug + 'static,
|
773 1211 | {
|
1212 + | /* ServiceErrorGenerator.kt:179 */
|
774 1213 | fn from(
|
775 1214 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
776 1215 | crate::operation::http_request_with_labels_and_timestamp_format::HttpRequestWithLabelsAndTimestampFormatError,
|
777 1216 | R,
|
778 1217 | >,
|
779 1218 | ) -> Self {
|
1219 + | /* ServiceErrorGenerator.kt:184 */
|
780 1220 | match err {
|
1221 + | /* ServiceErrorGenerator.kt:185 */
|
781 1222 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1223 + | /* ServiceErrorGenerator.kt:186 */
|
782 1224 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
783 1225 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
784 1226 | source: err.into(),
|
785 1227 | }),
|
1228 + | /* ServiceErrorGenerator.kt:184 */
|
786 1229 | }
|
1230 + | /* ServiceErrorGenerator.kt:179 */
|
787 1231 | }
|
1232 + | /* ServiceErrorGenerator.kt:174 */
|
788 1233 | }
|
1234 + | /* ServiceErrorGenerator.kt:202 */
|
789 1235 | impl From<crate::operation::http_request_with_labels_and_timestamp_format::HttpRequestWithLabelsAndTimestampFormatError> for Error {
|
1236 + | /* ServiceErrorGenerator.kt:203 */
|
790 1237 | fn from(err: crate::operation::http_request_with_labels_and_timestamp_format::HttpRequestWithLabelsAndTimestampFormatError) -> Self {
|
1238 + | /* ServiceErrorGenerator.kt:204 */
|
791 1239 | match err {
|
1240 + | /* ServiceErrorGenerator.kt:212 */
|
792 1241 | crate::operation::http_request_with_labels_and_timestamp_format::HttpRequestWithLabelsAndTimestampFormatError::Unhandled(inner) => {
|
793 1242 | Error::Unhandled(inner)
|
794 1243 | }
|
1244 + | /* ServiceErrorGenerator.kt:204 */
|
795 1245 | }
|
1246 + | /* ServiceErrorGenerator.kt:203 */
|
796 1247 | }
|
1248 + | /* ServiceErrorGenerator.kt:202 */
|
797 1249 | }
|
1250 + | /* ServiceErrorGenerator.kt:174 */
|
798 1251 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_response_code::HttpResponseCodeError, R>> for Error
|
799 1252 | where
|
800 1253 | R: Send + Sync + std::fmt::Debug + 'static,
|
801 1254 | {
|
1255 + | /* ServiceErrorGenerator.kt:179 */
|
802 1256 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_response_code::HttpResponseCodeError, R>) -> Self {
|
1257 + | /* ServiceErrorGenerator.kt:184 */
|
803 1258 | match err {
|
1259 + | /* ServiceErrorGenerator.kt:185 */
|
804 1260 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1261 + | /* ServiceErrorGenerator.kt:186 */
|
805 1262 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
806 1263 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
807 1264 | source: err.into(),
|
808 1265 | }),
|
1266 + | /* ServiceErrorGenerator.kt:184 */
|
809 1267 | }
|
1268 + | /* ServiceErrorGenerator.kt:179 */
|
810 1269 | }
|
1270 + | /* ServiceErrorGenerator.kt:174 */
|
811 1271 | }
|
1272 + | /* ServiceErrorGenerator.kt:202 */
|
812 1273 | impl From<crate::operation::http_response_code::HttpResponseCodeError> for Error {
|
1274 + | /* ServiceErrorGenerator.kt:203 */
|
813 1275 | fn from(err: crate::operation::http_response_code::HttpResponseCodeError) -> Self {
|
1276 + | /* ServiceErrorGenerator.kt:204 */
|
814 1277 | match err {
|
1278 + | /* ServiceErrorGenerator.kt:212 */
|
815 1279 | crate::operation::http_response_code::HttpResponseCodeError::Unhandled(inner) => Error::Unhandled(inner),
|
1280 + | /* ServiceErrorGenerator.kt:204 */
|
816 1281 | }
|
1282 + | /* ServiceErrorGenerator.kt:203 */
|
817 1283 | }
|
1284 + | /* ServiceErrorGenerator.kt:202 */
|
818 1285 | }
|
1286 + | /* ServiceErrorGenerator.kt:174 */
|
819 1287 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_string_payload::HttpStringPayloadError, R>> for Error
|
820 1288 | where
|
821 1289 | R: Send + Sync + std::fmt::Debug + 'static,
|
822 1290 | {
|
1291 + | /* ServiceErrorGenerator.kt:179 */
|
823 1292 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::http_string_payload::HttpStringPayloadError, R>) -> Self {
|
1293 + | /* ServiceErrorGenerator.kt:184 */
|
824 1294 | match err {
|
1295 + | /* ServiceErrorGenerator.kt:185 */
|
825 1296 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1297 + | /* ServiceErrorGenerator.kt:186 */
|
826 1298 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
827 1299 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
828 1300 | source: err.into(),
|
829 1301 | }),
|
1302 + | /* ServiceErrorGenerator.kt:184 */
|
830 1303 | }
|
1304 + | /* ServiceErrorGenerator.kt:179 */
|
831 1305 | }
|
1306 + | /* ServiceErrorGenerator.kt:174 */
|
832 1307 | }
|
1308 + | /* ServiceErrorGenerator.kt:202 */
|
833 1309 | impl From<crate::operation::http_string_payload::HttpStringPayloadError> for Error {
|
1310 + | /* ServiceErrorGenerator.kt:203 */
|
834 1311 | fn from(err: crate::operation::http_string_payload::HttpStringPayloadError) -> Self {
|
1312 + | /* ServiceErrorGenerator.kt:204 */
|
835 1313 | match err {
|
1314 + | /* ServiceErrorGenerator.kt:212 */
|
836 1315 | crate::operation::http_string_payload::HttpStringPayloadError::Unhandled(inner) => Error::Unhandled(inner),
|
1316 + | /* ServiceErrorGenerator.kt:204 */
|
837 1317 | }
|
1318 + | /* ServiceErrorGenerator.kt:203 */
|
838 1319 | }
|
1320 + | /* ServiceErrorGenerator.kt:202 */
|
839 1321 | }
|
1322 + | /* ServiceErrorGenerator.kt:174 */
|
840 1323 | impl<R>
|
841 1324 | From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::ignore_query_params_in_response::IgnoreQueryParamsInResponseError, R>>
|
842 1325 | for Error
|
843 1326 | where
|
844 1327 | R: Send + Sync + std::fmt::Debug + 'static,
|
845 1328 | {
|
1329 + | /* ServiceErrorGenerator.kt:179 */
|
846 1330 | fn from(
|
847 1331 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
848 1332 | crate::operation::ignore_query_params_in_response::IgnoreQueryParamsInResponseError,
|
849 1333 | R,
|
850 1334 | >,
|
851 1335 | ) -> Self {
|
1336 + | /* ServiceErrorGenerator.kt:184 */
|
852 1337 | match err {
|
1338 + | /* ServiceErrorGenerator.kt:185 */
|
853 1339 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1340 + | /* ServiceErrorGenerator.kt:186 */
|
854 1341 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
855 1342 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
856 1343 | source: err.into(),
|
857 1344 | }),
|
1345 + | /* ServiceErrorGenerator.kt:184 */
|
858 1346 | }
|
1347 + | /* ServiceErrorGenerator.kt:179 */
|
859 1348 | }
|
1349 + | /* ServiceErrorGenerator.kt:174 */
|
860 1350 | }
|
1351 + | /* ServiceErrorGenerator.kt:202 */
|
861 1352 | impl From<crate::operation::ignore_query_params_in_response::IgnoreQueryParamsInResponseError> for Error {
|
1353 + | /* ServiceErrorGenerator.kt:203 */
|
862 1354 | fn from(err: crate::operation::ignore_query_params_in_response::IgnoreQueryParamsInResponseError) -> Self {
|
1355 + | /* ServiceErrorGenerator.kt:204 */
|
863 1356 | match err {
|
1357 + | /* ServiceErrorGenerator.kt:212 */
|
864 1358 | crate::operation::ignore_query_params_in_response::IgnoreQueryParamsInResponseError::Unhandled(inner) => Error::Unhandled(inner),
|
1359 + | /* ServiceErrorGenerator.kt:204 */
|
865 1360 | }
|
1361 + | /* ServiceErrorGenerator.kt:203 */
|
866 1362 | }
|
1363 + | /* ServiceErrorGenerator.kt:202 */
|
867 1364 | }
|
1365 + | /* ServiceErrorGenerator.kt:174 */
|
868 1366 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::input_and_output_with_headers::InputAndOutputWithHeadersError, R>>
|
869 1367 | for Error
|
870 1368 | where
|
871 1369 | R: Send + Sync + std::fmt::Debug + 'static,
|
872 1370 | {
|
1371 + | /* ServiceErrorGenerator.kt:179 */
|
873 1372 | fn from(
|
874 1373 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::input_and_output_with_headers::InputAndOutputWithHeadersError, R>,
|
875 1374 | ) -> Self {
|
1375 + | /* ServiceErrorGenerator.kt:184 */
|
876 1376 | match err {
|
1377 + | /* ServiceErrorGenerator.kt:185 */
|
877 1378 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1379 + | /* ServiceErrorGenerator.kt:186 */
|
878 1380 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
879 1381 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
880 1382 | source: err.into(),
|
881 1383 | }),
|
1384 + | /* ServiceErrorGenerator.kt:184 */
|
882 1385 | }
|
1386 + | /* ServiceErrorGenerator.kt:179 */
|
883 1387 | }
|
1388 + | /* ServiceErrorGenerator.kt:174 */
|
884 1389 | }
|
1390 + | /* ServiceErrorGenerator.kt:202 */
|
885 1391 | impl From<crate::operation::input_and_output_with_headers::InputAndOutputWithHeadersError> for Error {
|
1392 + | /* ServiceErrorGenerator.kt:203 */
|
886 1393 | fn from(err: crate::operation::input_and_output_with_headers::InputAndOutputWithHeadersError) -> Self {
|
1394 + | /* ServiceErrorGenerator.kt:204 */
|
887 1395 | match err {
|
1396 + | /* ServiceErrorGenerator.kt:212 */
|
888 1397 | crate::operation::input_and_output_with_headers::InputAndOutputWithHeadersError::Unhandled(inner) => Error::Unhandled(inner),
|
1398 + | /* ServiceErrorGenerator.kt:204 */
|
889 1399 | }
|
1400 + | /* ServiceErrorGenerator.kt:203 */
|
890 1401 | }
|
1402 + | /* ServiceErrorGenerator.kt:202 */
|
891 1403 | }
|
1404 + | /* ServiceErrorGenerator.kt:174 */
|
892 1405 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::nested_xml_maps::NestedXmlMapsError, R>> for Error
|
893 1406 | where
|
894 1407 | R: Send + Sync + std::fmt::Debug + 'static,
|
895 1408 | {
|
1409 + | /* ServiceErrorGenerator.kt:179 */
|
896 1410 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::nested_xml_maps::NestedXmlMapsError, R>) -> Self {
|
1411 + | /* ServiceErrorGenerator.kt:184 */
|
897 1412 | match err {
|
1413 + | /* ServiceErrorGenerator.kt:185 */
|
898 1414 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1415 + | /* ServiceErrorGenerator.kt:186 */
|
899 1416 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
900 1417 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
901 1418 | source: err.into(),
|
902 1419 | }),
|
1420 + | /* ServiceErrorGenerator.kt:184 */
|
903 1421 | }
|
1422 + | /* ServiceErrorGenerator.kt:179 */
|
904 1423 | }
|
1424 + | /* ServiceErrorGenerator.kt:174 */
|
905 1425 | }
|
1426 + | /* ServiceErrorGenerator.kt:202 */
|
906 1427 | impl From<crate::operation::nested_xml_maps::NestedXmlMapsError> for Error {
|
1428 + | /* ServiceErrorGenerator.kt:203 */
|
907 1429 | fn from(err: crate::operation::nested_xml_maps::NestedXmlMapsError) -> Self {
|
1430 + | /* ServiceErrorGenerator.kt:204 */
|
908 1431 | match err {
|
1432 + | /* ServiceErrorGenerator.kt:212 */
|
909 1433 | crate::operation::nested_xml_maps::NestedXmlMapsError::Unhandled(inner) => Error::Unhandled(inner),
|
1434 + | /* ServiceErrorGenerator.kt:204 */
|
910 1435 | }
|
1436 + | /* ServiceErrorGenerator.kt:203 */
|
911 1437 | }
|
1438 + | /* ServiceErrorGenerator.kt:202 */
|
912 1439 | }
|
1440 + | /* ServiceErrorGenerator.kt:174 */
|
913 1441 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::nested_xml_map_with_xml_name::NestedXmlMapWithXmlNameError, R>>
|
914 1442 | for Error
|
915 1443 | where
|
916 1444 | R: Send + Sync + std::fmt::Debug + 'static,
|
917 1445 | {
|
1446 + | /* ServiceErrorGenerator.kt:179 */
|
918 1447 | fn from(
|
919 1448 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::nested_xml_map_with_xml_name::NestedXmlMapWithXmlNameError, R>,
|
920 1449 | ) -> Self {
|
1450 + | /* ServiceErrorGenerator.kt:184 */
|
921 1451 | match err {
|
1452 + | /* ServiceErrorGenerator.kt:185 */
|
922 1453 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1454 + | /* ServiceErrorGenerator.kt:186 */
|
923 1455 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
924 1456 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
925 1457 | source: err.into(),
|
926 1458 | }),
|
1459 + | /* ServiceErrorGenerator.kt:184 */
|
927 1460 | }
|
1461 + | /* ServiceErrorGenerator.kt:179 */
|
928 1462 | }
|
1463 + | /* ServiceErrorGenerator.kt:174 */
|
929 1464 | }
|
1465 + | /* ServiceErrorGenerator.kt:202 */
|
930 1466 | impl From<crate::operation::nested_xml_map_with_xml_name::NestedXmlMapWithXmlNameError> for Error {
|
1467 + | /* ServiceErrorGenerator.kt:203 */
|
931 1468 | fn from(err: crate::operation::nested_xml_map_with_xml_name::NestedXmlMapWithXmlNameError) -> Self {
|
1469 + | /* ServiceErrorGenerator.kt:204 */
|
932 1470 | match err {
|
1471 + | /* ServiceErrorGenerator.kt:212 */
|
933 1472 | crate::operation::nested_xml_map_with_xml_name::NestedXmlMapWithXmlNameError::Unhandled(inner) => Error::Unhandled(inner),
|
1473 + | /* ServiceErrorGenerator.kt:204 */
|
934 1474 | }
|
1475 + | /* ServiceErrorGenerator.kt:203 */
|
935 1476 | }
|
1477 + | /* ServiceErrorGenerator.kt:202 */
|
936 1478 | }
|
1479 + | /* ServiceErrorGenerator.kt:174 */
|
937 1480 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::no_input_and_no_output::NoInputAndNoOutputError, R>> for Error
|
938 1481 | where
|
939 1482 | R: Send + Sync + std::fmt::Debug + 'static,
|
940 1483 | {
|
1484 + | /* ServiceErrorGenerator.kt:179 */
|
941 1485 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::no_input_and_no_output::NoInputAndNoOutputError, R>) -> Self {
|
1486 + | /* ServiceErrorGenerator.kt:184 */
|
942 1487 | match err {
|
1488 + | /* ServiceErrorGenerator.kt:185 */
|
943 1489 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1490 + | /* ServiceErrorGenerator.kt:186 */
|
944 1491 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
945 1492 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
946 1493 | source: err.into(),
|
947 1494 | }),
|
1495 + | /* ServiceErrorGenerator.kt:184 */
|
948 1496 | }
|
1497 + | /* ServiceErrorGenerator.kt:179 */
|
949 1498 | }
|
1499 + | /* ServiceErrorGenerator.kt:174 */
|
950 1500 | }
|
1501 + | /* ServiceErrorGenerator.kt:202 */
|
951 1502 | impl From<crate::operation::no_input_and_no_output::NoInputAndNoOutputError> for Error {
|
1503 + | /* ServiceErrorGenerator.kt:203 */
|
952 1504 | fn from(err: crate::operation::no_input_and_no_output::NoInputAndNoOutputError) -> Self {
|
1505 + | /* ServiceErrorGenerator.kt:204 */
|
953 1506 | match err {
|
1507 + | /* ServiceErrorGenerator.kt:212 */
|
954 1508 | crate::operation::no_input_and_no_output::NoInputAndNoOutputError::Unhandled(inner) => Error::Unhandled(inner),
|
1509 + | /* ServiceErrorGenerator.kt:204 */
|
955 1510 | }
|
1511 + | /* ServiceErrorGenerator.kt:203 */
|
956 1512 | }
|
1513 + | /* ServiceErrorGenerator.kt:202 */
|
957 1514 | }
|
1515 + | /* ServiceErrorGenerator.kt:174 */
|
958 1516 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::no_input_and_output::NoInputAndOutputError, R>> for Error
|
959 1517 | where
|
960 1518 | R: Send + Sync + std::fmt::Debug + 'static,
|
961 1519 | {
|
1520 + | /* ServiceErrorGenerator.kt:179 */
|
962 1521 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::no_input_and_output::NoInputAndOutputError, R>) -> Self {
|
1522 + | /* ServiceErrorGenerator.kt:184 */
|
963 1523 | match err {
|
1524 + | /* ServiceErrorGenerator.kt:185 */
|
964 1525 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1526 + | /* ServiceErrorGenerator.kt:186 */
|
965 1527 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
966 1528 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
967 1529 | source: err.into(),
|
968 1530 | }),
|
1531 + | /* ServiceErrorGenerator.kt:184 */
|
969 1532 | }
|
1533 + | /* ServiceErrorGenerator.kt:179 */
|
970 1534 | }
|
1535 + | /* ServiceErrorGenerator.kt:174 */
|
971 1536 | }
|
1537 + | /* ServiceErrorGenerator.kt:202 */
|
972 1538 | impl From<crate::operation::no_input_and_output::NoInputAndOutputError> for Error {
|
1539 + | /* ServiceErrorGenerator.kt:203 */
|
973 1540 | fn from(err: crate::operation::no_input_and_output::NoInputAndOutputError) -> Self {
|
1541 + | /* ServiceErrorGenerator.kt:204 */
|
974 1542 | match err {
|
1543 + | /* ServiceErrorGenerator.kt:212 */
|
975 1544 | crate::operation::no_input_and_output::NoInputAndOutputError::Unhandled(inner) => Error::Unhandled(inner),
|
1545 + | /* ServiceErrorGenerator.kt:204 */
|
976 1546 | }
|
1547 + | /* ServiceErrorGenerator.kt:203 */
|
977 1548 | }
|
1549 + | /* ServiceErrorGenerator.kt:202 */
|
978 1550 | }
|
1551 + | /* ServiceErrorGenerator.kt:174 */
|
979 1552 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::null_and_empty_headers_client::NullAndEmptyHeadersClientError, R>>
|
980 1553 | for Error
|
981 1554 | where
|
982 1555 | R: Send + Sync + std::fmt::Debug + 'static,
|
983 1556 | {
|
1557 + | /* ServiceErrorGenerator.kt:179 */
|
984 1558 | fn from(
|
985 1559 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::null_and_empty_headers_client::NullAndEmptyHeadersClientError, R>,
|
986 1560 | ) -> Self {
|
1561 + | /* ServiceErrorGenerator.kt:184 */
|
987 1562 | match err {
|
1563 + | /* ServiceErrorGenerator.kt:185 */
|
988 1564 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1565 + | /* ServiceErrorGenerator.kt:186 */
|
989 1566 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
990 1567 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
991 1568 | source: err.into(),
|
992 1569 | }),
|
1570 + | /* ServiceErrorGenerator.kt:184 */
|
993 1571 | }
|
1572 + | /* ServiceErrorGenerator.kt:179 */
|
994 1573 | }
|
1574 + | /* ServiceErrorGenerator.kt:174 */
|
995 1575 | }
|
1576 + | /* ServiceErrorGenerator.kt:202 */
|
996 1577 | impl From<crate::operation::null_and_empty_headers_client::NullAndEmptyHeadersClientError> for Error {
|
1578 + | /* ServiceErrorGenerator.kt:203 */
|
997 1579 | fn from(err: crate::operation::null_and_empty_headers_client::NullAndEmptyHeadersClientError) -> Self {
|
1580 + | /* ServiceErrorGenerator.kt:204 */
|
998 1581 | match err {
|
1582 + | /* ServiceErrorGenerator.kt:212 */
|
999 1583 | crate::operation::null_and_empty_headers_client::NullAndEmptyHeadersClientError::Unhandled(inner) => Error::Unhandled(inner),
|
1584 + | /* ServiceErrorGenerator.kt:204 */
|
1000 1585 | }
|
1586 + | /* ServiceErrorGenerator.kt:203 */
|
1001 1587 | }
|
1588 + | /* ServiceErrorGenerator.kt:202 */
|
1002 1589 | }
|
1590 + | /* ServiceErrorGenerator.kt:174 */
|
1003 1591 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::null_and_empty_headers_server::NullAndEmptyHeadersServerError, R>>
|
1004 1592 | for Error
|
1005 1593 | where
|
1006 1594 | R: Send + Sync + std::fmt::Debug + 'static,
|
1007 1595 | {
|
1596 + | /* ServiceErrorGenerator.kt:179 */
|
1008 1597 | fn from(
|
1009 1598 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::null_and_empty_headers_server::NullAndEmptyHeadersServerError, R>,
|
1010 1599 | ) -> Self {
|
1600 + | /* ServiceErrorGenerator.kt:184 */
|
1011 1601 | match err {
|
1602 + | /* ServiceErrorGenerator.kt:185 */
|
1012 1603 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1604 + | /* ServiceErrorGenerator.kt:186 */
|
1013 1605 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1014 1606 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1015 1607 | source: err.into(),
|
1016 1608 | }),
|
1609 + | /* ServiceErrorGenerator.kt:184 */
|
1017 1610 | }
|
1611 + | /* ServiceErrorGenerator.kt:179 */
|
1018 1612 | }
|
1613 + | /* ServiceErrorGenerator.kt:174 */
|
1019 1614 | }
|
1615 + | /* ServiceErrorGenerator.kt:202 */
|
1020 1616 | impl From<crate::operation::null_and_empty_headers_server::NullAndEmptyHeadersServerError> for Error {
|
1617 + | /* ServiceErrorGenerator.kt:203 */
|
1021 1618 | fn from(err: crate::operation::null_and_empty_headers_server::NullAndEmptyHeadersServerError) -> Self {
|
1619 + | /* ServiceErrorGenerator.kt:204 */
|
1022 1620 | match err {
|
1621 + | /* ServiceErrorGenerator.kt:212 */
|
1023 1622 | crate::operation::null_and_empty_headers_server::NullAndEmptyHeadersServerError::Unhandled(inner) => Error::Unhandled(inner),
|
1623 + | /* ServiceErrorGenerator.kt:204 */
|
1024 1624 | }
|
1625 + | /* ServiceErrorGenerator.kt:203 */
|
1025 1626 | }
|
1627 + | /* ServiceErrorGenerator.kt:202 */
|
1026 1628 | }
|
1629 + | /* ServiceErrorGenerator.kt:174 */
|
1027 1630 | impl<R>
|
1028 1631 | From<
|
1029 1632 | ::aws_smithy_runtime_api::client::result::SdkError<
|
1030 1633 | crate::operation::omits_null_serializes_empty_string::OmitsNullSerializesEmptyStringError,
|
1031 1634 | R,
|
1032 1635 | >,
|
1033 1636 | > for Error
|
1034 1637 | where
|
1035 1638 | R: Send + Sync + std::fmt::Debug + 'static,
|
1036 1639 | {
|
1640 + | /* ServiceErrorGenerator.kt:179 */
|
1037 1641 | fn from(
|
1038 1642 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
1039 1643 | crate::operation::omits_null_serializes_empty_string::OmitsNullSerializesEmptyStringError,
|
1040 1644 | R,
|
1041 1645 | >,
|
1042 1646 | ) -> Self {
|
1647 + | /* ServiceErrorGenerator.kt:184 */
|
1043 1648 | match err {
|
1649 + | /* ServiceErrorGenerator.kt:185 */
|
1044 1650 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1651 + | /* ServiceErrorGenerator.kt:186 */
|
1045 1652 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1046 1653 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1047 1654 | source: err.into(),
|
1048 1655 | }),
|
1656 + | /* ServiceErrorGenerator.kt:184 */
|
1049 1657 | }
|
1658 + | /* ServiceErrorGenerator.kt:179 */
|
1050 1659 | }
|
1660 + | /* ServiceErrorGenerator.kt:174 */
|
1051 1661 | }
|
1662 + | /* ServiceErrorGenerator.kt:202 */
|
1052 1663 | impl From<crate::operation::omits_null_serializes_empty_string::OmitsNullSerializesEmptyStringError> for Error {
|
1664 + | /* ServiceErrorGenerator.kt:203 */
|
1053 1665 | fn from(err: crate::operation::omits_null_serializes_empty_string::OmitsNullSerializesEmptyStringError) -> Self {
|
1666 + | /* ServiceErrorGenerator.kt:204 */
|
1054 1667 | match err {
|
1668 + | /* ServiceErrorGenerator.kt:212 */
|
1055 1669 | crate::operation::omits_null_serializes_empty_string::OmitsNullSerializesEmptyStringError::Unhandled(inner) => Error::Unhandled(inner),
|
1670 + | /* ServiceErrorGenerator.kt:204 */
|
1056 1671 | }
|
1672 + | /* ServiceErrorGenerator.kt:203 */
|
1057 1673 | }
|
1674 + | /* ServiceErrorGenerator.kt:202 */
|
1058 1675 | }
|
1676 + | /* ServiceErrorGenerator.kt:174 */
|
1059 1677 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_with_content_encoding::PutWithContentEncodingError, R>>
|
1060 1678 | for Error
|
1061 1679 | where
|
1062 1680 | R: Send + Sync + std::fmt::Debug + 'static,
|
1063 1681 | {
|
1682 + | /* ServiceErrorGenerator.kt:179 */
|
1064 1683 | fn from(
|
1065 1684 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_with_content_encoding::PutWithContentEncodingError, R>,
|
1066 1685 | ) -> Self {
|
1686 + | /* ServiceErrorGenerator.kt:184 */
|
1067 1687 | match err {
|
1688 + | /* ServiceErrorGenerator.kt:185 */
|
1068 1689 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1690 + | /* ServiceErrorGenerator.kt:186 */
|
1069 1691 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1070 1692 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1071 1693 | source: err.into(),
|
1072 1694 | }),
|
1695 + | /* ServiceErrorGenerator.kt:184 */
|
1073 1696 | }
|
1697 + | /* ServiceErrorGenerator.kt:179 */
|
1074 1698 | }
|
1699 + | /* ServiceErrorGenerator.kt:174 */
|
1075 1700 | }
|
1701 + | /* ServiceErrorGenerator.kt:202 */
|
1076 1702 | impl From<crate::operation::put_with_content_encoding::PutWithContentEncodingError> for Error {
|
1703 + | /* ServiceErrorGenerator.kt:203 */
|
1077 1704 | fn from(err: crate::operation::put_with_content_encoding::PutWithContentEncodingError) -> Self {
|
1705 + | /* ServiceErrorGenerator.kt:204 */
|
1078 1706 | match err {
|
1707 + | /* ServiceErrorGenerator.kt:212 */
|
1079 1708 | crate::operation::put_with_content_encoding::PutWithContentEncodingError::Unhandled(inner) => Error::Unhandled(inner),
|
1709 + | /* ServiceErrorGenerator.kt:204 */
|
1080 1710 | }
|
1711 + | /* ServiceErrorGenerator.kt:203 */
|
1081 1712 | }
|
1713 + | /* ServiceErrorGenerator.kt:202 */
|
1082 1714 | }
|
1715 + | /* ServiceErrorGenerator.kt:174 */
|
1083 1716 | impl<R>
|
1084 1717 | From<
|
1085 1718 | ::aws_smithy_runtime_api::client::result::SdkError<
|
1086 1719 | crate::operation::query_idempotency_token_auto_fill::QueryIdempotencyTokenAutoFillError,
|
1087 1720 | R,
|
1088 1721 | >,
|
1089 1722 | > for Error
|
1090 1723 | where
|
1091 1724 | R: Send + Sync + std::fmt::Debug + 'static,
|
1092 1725 | {
|
1726 + | /* ServiceErrorGenerator.kt:179 */
|
1093 1727 | fn from(
|
1094 1728 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
1095 1729 | crate::operation::query_idempotency_token_auto_fill::QueryIdempotencyTokenAutoFillError,
|
1096 1730 | R,
|
1097 1731 | >,
|
1098 1732 | ) -> Self {
|
1733 + | /* ServiceErrorGenerator.kt:184 */
|
1099 1734 | match err {
|
1735 + | /* ServiceErrorGenerator.kt:185 */
|
1100 1736 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1737 + | /* ServiceErrorGenerator.kt:186 */
|
1101 1738 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1102 1739 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1103 1740 | source: err.into(),
|
1104 1741 | }),
|
1742 + | /* ServiceErrorGenerator.kt:184 */
|
1105 1743 | }
|
1744 + | /* ServiceErrorGenerator.kt:179 */
|
1106 1745 | }
|
1746 + | /* ServiceErrorGenerator.kt:174 */
|
1107 1747 | }
|
1748 + | /* ServiceErrorGenerator.kt:202 */
|
1108 1749 | impl From<crate::operation::query_idempotency_token_auto_fill::QueryIdempotencyTokenAutoFillError> for Error {
|
1750 + | /* ServiceErrorGenerator.kt:203 */
|
1109 1751 | fn from(err: crate::operation::query_idempotency_token_auto_fill::QueryIdempotencyTokenAutoFillError) -> Self {
|
1752 + | /* ServiceErrorGenerator.kt:204 */
|
1110 1753 | match err {
|
1754 + | /* ServiceErrorGenerator.kt:212 */
|
1111 1755 | crate::operation::query_idempotency_token_auto_fill::QueryIdempotencyTokenAutoFillError::Unhandled(inner) => Error::Unhandled(inner),
|
1756 + | /* ServiceErrorGenerator.kt:204 */
|
1112 1757 | }
|
1758 + | /* ServiceErrorGenerator.kt:203 */
|
1113 1759 | }
|
1760 + | /* ServiceErrorGenerator.kt:202 */
|
1114 1761 | }
|
1762 + | /* ServiceErrorGenerator.kt:174 */
|
1115 1763 | impl<R>
|
1116 1764 | From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::query_params_as_string_list_map::QueryParamsAsStringListMapError, R>>
|
1117 1765 | for Error
|
1118 1766 | where
|
1119 1767 | R: Send + Sync + std::fmt::Debug + 'static,
|
1120 1768 | {
|
1769 + | /* ServiceErrorGenerator.kt:179 */
|
1121 1770 | fn from(
|
1122 1771 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
1123 1772 | crate::operation::query_params_as_string_list_map::QueryParamsAsStringListMapError,
|
1124 1773 | R,
|
1125 1774 | >,
|
1126 1775 | ) -> Self {
|
1776 + | /* ServiceErrorGenerator.kt:184 */
|
1127 1777 | match err {
|
1778 + | /* ServiceErrorGenerator.kt:185 */
|
1128 1779 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1780 + | /* ServiceErrorGenerator.kt:186 */
|
1129 1781 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1130 1782 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1131 1783 | source: err.into(),
|
1132 1784 | }),
|
1785 + | /* ServiceErrorGenerator.kt:184 */
|
1133 1786 | }
|
1787 + | /* ServiceErrorGenerator.kt:179 */
|
1134 1788 | }
|
1789 + | /* ServiceErrorGenerator.kt:174 */
|
1135 1790 | }
|
1791 + | /* ServiceErrorGenerator.kt:202 */
|
1136 1792 | impl From<crate::operation::query_params_as_string_list_map::QueryParamsAsStringListMapError> for Error {
|
1793 + | /* ServiceErrorGenerator.kt:203 */
|
1137 1794 | fn from(err: crate::operation::query_params_as_string_list_map::QueryParamsAsStringListMapError) -> Self {
|
1795 + | /* ServiceErrorGenerator.kt:204 */
|
1138 1796 | match err {
|
1797 + | /* ServiceErrorGenerator.kt:212 */
|
1139 1798 | crate::operation::query_params_as_string_list_map::QueryParamsAsStringListMapError::Unhandled(inner) => Error::Unhandled(inner),
|
1799 + | /* ServiceErrorGenerator.kt:204 */
|
1140 1800 | }
|
1801 + | /* ServiceErrorGenerator.kt:203 */
|
1141 1802 | }
|
1803 + | /* ServiceErrorGenerator.kt:202 */
|
1142 1804 | }
|
1805 + | /* ServiceErrorGenerator.kt:174 */
|
1143 1806 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::query_precedence::QueryPrecedenceError, R>> for Error
|
1144 1807 | where
|
1145 1808 | R: Send + Sync + std::fmt::Debug + 'static,
|
1146 1809 | {
|
1810 + | /* ServiceErrorGenerator.kt:179 */
|
1147 1811 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::query_precedence::QueryPrecedenceError, R>) -> Self {
|
1812 + | /* ServiceErrorGenerator.kt:184 */
|
1148 1813 | match err {
|
1814 + | /* ServiceErrorGenerator.kt:185 */
|
1149 1815 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1816 + | /* ServiceErrorGenerator.kt:186 */
|
1150 1817 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1151 1818 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1152 1819 | source: err.into(),
|
1153 1820 | }),
|
1821 + | /* ServiceErrorGenerator.kt:184 */
|
1154 1822 | }
|
1823 + | /* ServiceErrorGenerator.kt:179 */
|
1155 1824 | }
|
1825 + | /* ServiceErrorGenerator.kt:174 */
|
1156 1826 | }
|
1827 + | /* ServiceErrorGenerator.kt:202 */
|
1157 1828 | impl From<crate::operation::query_precedence::QueryPrecedenceError> for Error {
|
1829 + | /* ServiceErrorGenerator.kt:203 */
|
1158 1830 | fn from(err: crate::operation::query_precedence::QueryPrecedenceError) -> Self {
|
1831 + | /* ServiceErrorGenerator.kt:204 */
|
1159 1832 | match err {
|
1833 + | /* ServiceErrorGenerator.kt:212 */
|
1160 1834 | crate::operation::query_precedence::QueryPrecedenceError::Unhandled(inner) => Error::Unhandled(inner),
|
1835 + | /* ServiceErrorGenerator.kt:204 */
|
1161 1836 | }
|
1837 + | /* ServiceErrorGenerator.kt:203 */
|
1162 1838 | }
|
1839 + | /* ServiceErrorGenerator.kt:202 */
|
1163 1840 | }
|
1841 + | /* ServiceErrorGenerator.kt:174 */
|
1164 1842 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::recursive_shapes::RecursiveShapesError, R>> for Error
|
1165 1843 | where
|
1166 1844 | R: Send + Sync + std::fmt::Debug + 'static,
|
1167 1845 | {
|
1846 + | /* ServiceErrorGenerator.kt:179 */
|
1168 1847 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::recursive_shapes::RecursiveShapesError, R>) -> Self {
|
1848 + | /* ServiceErrorGenerator.kt:184 */
|
1169 1849 | match err {
|
1850 + | /* ServiceErrorGenerator.kt:185 */
|
1170 1851 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1852 + | /* ServiceErrorGenerator.kt:186 */
|
1171 1853 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1172 1854 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1173 1855 | source: err.into(),
|
1174 1856 | }),
|
1857 + | /* ServiceErrorGenerator.kt:184 */
|
1175 1858 | }
|
1859 + | /* ServiceErrorGenerator.kt:179 */
|
1176 1860 | }
|
1861 + | /* ServiceErrorGenerator.kt:174 */
|
1177 1862 | }
|
1863 + | /* ServiceErrorGenerator.kt:202 */
|
1178 1864 | impl From<crate::operation::recursive_shapes::RecursiveShapesError> for Error {
|
1865 + | /* ServiceErrorGenerator.kt:203 */
|
1179 1866 | fn from(err: crate::operation::recursive_shapes::RecursiveShapesError) -> Self {
|
1867 + | /* ServiceErrorGenerator.kt:204 */
|
1180 1868 | match err {
|
1869 + | /* ServiceErrorGenerator.kt:212 */
|
1181 1870 | crate::operation::recursive_shapes::RecursiveShapesError::Unhandled(inner) => Error::Unhandled(inner),
|
1871 + | /* ServiceErrorGenerator.kt:204 */
|
1182 1872 | }
|
1873 + | /* ServiceErrorGenerator.kt:203 */
|
1183 1874 | }
|
1875 + | /* ServiceErrorGenerator.kt:202 */
|
1184 1876 | }
|
1877 + | /* ServiceErrorGenerator.kt:174 */
|
1185 1878 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::simple_scalar_properties::SimpleScalarPropertiesError, R>> for Error
|
1186 1879 | where
|
1187 1880 | R: Send + Sync + std::fmt::Debug + 'static,
|
1188 1881 | {
|
1882 + | /* ServiceErrorGenerator.kt:179 */
|
1189 1883 | fn from(
|
1190 1884 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::simple_scalar_properties::SimpleScalarPropertiesError, R>,
|
1191 1885 | ) -> Self {
|
1886 + | /* ServiceErrorGenerator.kt:184 */
|
1192 1887 | match err {
|
1888 + | /* ServiceErrorGenerator.kt:185 */
|
1193 1889 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1890 + | /* ServiceErrorGenerator.kt:186 */
|
1194 1891 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1195 1892 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1196 1893 | source: err.into(),
|
1197 1894 | }),
|
1895 + | /* ServiceErrorGenerator.kt:184 */
|
1198 1896 | }
|
1897 + | /* ServiceErrorGenerator.kt:179 */
|
1199 1898 | }
|
1899 + | /* ServiceErrorGenerator.kt:174 */
|
1200 1900 | }
|
1901 + | /* ServiceErrorGenerator.kt:202 */
|
1201 1902 | impl From<crate::operation::simple_scalar_properties::SimpleScalarPropertiesError> for Error {
|
1903 + | /* ServiceErrorGenerator.kt:203 */
|
1202 1904 | fn from(err: crate::operation::simple_scalar_properties::SimpleScalarPropertiesError) -> Self {
|
1905 + | /* ServiceErrorGenerator.kt:204 */
|
1203 1906 | match err {
|
1907 + | /* ServiceErrorGenerator.kt:212 */
|
1204 1908 | crate::operation::simple_scalar_properties::SimpleScalarPropertiesError::Unhandled(inner) => Error::Unhandled(inner),
|
1909 + | /* ServiceErrorGenerator.kt:204 */
|
1205 1910 | }
|
1911 + | /* ServiceErrorGenerator.kt:203 */
|
1206 1912 | }
|
1913 + | /* ServiceErrorGenerator.kt:202 */
|
1207 1914 | }
|
1915 + | /* ServiceErrorGenerator.kt:174 */
|
1208 1916 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::timestamp_format_headers::TimestampFormatHeadersError, R>> for Error
|
1209 1917 | where
|
1210 1918 | R: Send + Sync + std::fmt::Debug + 'static,
|
1211 1919 | {
|
1920 + | /* ServiceErrorGenerator.kt:179 */
|
1212 1921 | fn from(
|
1213 1922 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::timestamp_format_headers::TimestampFormatHeadersError, R>,
|
1214 1923 | ) -> Self {
|
1924 + | /* ServiceErrorGenerator.kt:184 */
|
1215 1925 | match err {
|
1926 + | /* ServiceErrorGenerator.kt:185 */
|
1216 1927 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1928 + | /* ServiceErrorGenerator.kt:186 */
|
1217 1929 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1218 1930 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1219 1931 | source: err.into(),
|
1220 1932 | }),
|
1933 + | /* ServiceErrorGenerator.kt:184 */
|
1221 1934 | }
|
1935 + | /* ServiceErrorGenerator.kt:179 */
|
1222 1936 | }
|
1937 + | /* ServiceErrorGenerator.kt:174 */
|
1223 1938 | }
|
1939 + | /* ServiceErrorGenerator.kt:202 */
|
1224 1940 | impl From<crate::operation::timestamp_format_headers::TimestampFormatHeadersError> for Error {
|
1941 + | /* ServiceErrorGenerator.kt:203 */
|
1225 1942 | fn from(err: crate::operation::timestamp_format_headers::TimestampFormatHeadersError) -> Self {
|
1943 + | /* ServiceErrorGenerator.kt:204 */
|
1226 1944 | match err {
|
1945 + | /* ServiceErrorGenerator.kt:212 */
|
1227 1946 | crate::operation::timestamp_format_headers::TimestampFormatHeadersError::Unhandled(inner) => Error::Unhandled(inner),
|
1947 + | /* ServiceErrorGenerator.kt:204 */
|
1228 1948 | }
|
1949 + | /* ServiceErrorGenerator.kt:203 */
|
1229 1950 | }
|
1951 + | /* ServiceErrorGenerator.kt:202 */
|
1230 1952 | }
|
1953 + | /* ServiceErrorGenerator.kt:174 */
|
1231 1954 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::xml_attributes::XmlAttributesError, R>> for Error
|
1232 1955 | where
|
1233 1956 | R: Send + Sync + std::fmt::Debug + 'static,
|
1234 1957 | {
|
1958 + | /* ServiceErrorGenerator.kt:179 */
|
1235 1959 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::xml_attributes::XmlAttributesError, R>) -> Self {
|
1960 + | /* ServiceErrorGenerator.kt:184 */
|
1236 1961 | match err {
|
1962 + | /* ServiceErrorGenerator.kt:185 */
|
1237 1963 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1964 + | /* ServiceErrorGenerator.kt:186 */
|
1238 1965 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1239 1966 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1240 1967 | source: err.into(),
|
1241 1968 | }),
|
1969 + | /* ServiceErrorGenerator.kt:184 */
|
1242 1970 | }
|
1971 + | /* ServiceErrorGenerator.kt:179 */
|
1243 1972 | }
|
1973 + | /* ServiceErrorGenerator.kt:174 */
|
1244 1974 | }
|
1975 + | /* ServiceErrorGenerator.kt:202 */
|
1245 1976 | impl From<crate::operation::xml_attributes::XmlAttributesError> for Error {
|
1977 + | /* ServiceErrorGenerator.kt:203 */
|
1246 1978 | fn from(err: crate::operation::xml_attributes::XmlAttributesError) -> Self {
|
1979 + | /* ServiceErrorGenerator.kt:204 */
|
1247 1980 | match err {
|
1981 + | /* ServiceErrorGenerator.kt:212 */
|
1248 1982 | crate::operation::xml_attributes::XmlAttributesError::Unhandled(inner) => Error::Unhandled(inner),
|
1983 + | /* ServiceErrorGenerator.kt:204 */
|
1249 1984 | }
|
1985 + | /* ServiceErrorGenerator.kt:203 */
|
1250 1986 | }
|
1987 + | /* ServiceErrorGenerator.kt:202 */
|
1251 1988 | }
|
1989 + | /* ServiceErrorGenerator.kt:174 */
|
1252 1990 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::xml_attributes_on_payload::XmlAttributesOnPayloadError, R>>
|
1253 1991 | for Error
|
1254 1992 | where
|
1255 1993 | R: Send + Sync + std::fmt::Debug + 'static,
|
1256 1994 | {
|
1995 + | /* ServiceErrorGenerator.kt:179 */
|
1257 1996 | fn from(
|
1258 1997 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::xml_attributes_on_payload::XmlAttributesOnPayloadError, R>,
|
1259 1998 | ) -> Self {
|
1999 + | /* ServiceErrorGenerator.kt:184 */
|
1260 2000 | match err {
|
2001 + | /* ServiceErrorGenerator.kt:185 */
|
1261 2002 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2003 + | /* ServiceErrorGenerator.kt:186 */
|
1262 2004 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1263 2005 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1264 2006 | source: err.into(),
|
1265 2007 | }),
|
2008 + | /* ServiceErrorGenerator.kt:184 */
|
1266 2009 | }
|
2010 + | /* ServiceErrorGenerator.kt:179 */
|
1267 2011 | }
|
2012 + | /* ServiceErrorGenerator.kt:174 */
|
1268 2013 | }
|
2014 + | /* ServiceErrorGenerator.kt:202 */
|
1269 2015 | impl From<crate::operation::xml_attributes_on_payload::XmlAttributesOnPayloadError> for Error {
|
2016 + | /* ServiceErrorGenerator.kt:203 */
|
1270 2017 | fn from(err: crate::operation::xml_attributes_on_payload::XmlAttributesOnPayloadError) -> Self {
|
2018 + | /* ServiceErrorGenerator.kt:204 */
|
1271 2019 | match err {
|
2020 + | /* ServiceErrorGenerator.kt:212 */
|
1272 2021 | crate::operation::xml_attributes_on_payload::XmlAttributesOnPayloadError::Unhandled(inner) => Error::Unhandled(inner),
|
2022 + | /* ServiceErrorGenerator.kt:204 */
|
1273 2023 | }
|
2024 + | /* ServiceErrorGenerator.kt:203 */
|
1274 2025 | }
|
2026 + | /* ServiceErrorGenerator.kt:202 */
|
1275 2027 | }
|
2028 + | /* ServiceErrorGenerator.kt:174 */
|
1276 2029 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::xml_blobs::XmlBlobsError, R>> for Error
|
1277 2030 | where
|
1278 2031 | R: Send + Sync + std::fmt::Debug + 'static,
|
1279 2032 | {
|
2033 + | /* ServiceErrorGenerator.kt:179 */
|
1280 2034 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::xml_blobs::XmlBlobsError, R>) -> Self {
|
2035 + | /* ServiceErrorGenerator.kt:184 */
|
1281 2036 | match err {
|
2037 + | /* ServiceErrorGenerator.kt:185 */
|
1282 2038 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2039 + | /* ServiceErrorGenerator.kt:186 */
|
1283 2040 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1284 2041 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1285 2042 | source: err.into(),
|
1286 2043 | }),
|
2044 + | /* ServiceErrorGenerator.kt:184 */
|
1287 2045 | }
|
2046 + | /* ServiceErrorGenerator.kt:179 */
|
1288 2047 | }
|
2048 + | /* ServiceErrorGenerator.kt:174 */
|
1289 2049 | }
|
2050 + | /* ServiceErrorGenerator.kt:202 */
|
1290 2051 | impl From<crate::operation::xml_blobs::XmlBlobsError> for Error {
|
2052 + | /* ServiceErrorGenerator.kt:203 */
|
1291 2053 | fn from(err: crate::operation::xml_blobs::XmlBlobsError) -> Self {
|
2054 + | /* ServiceErrorGenerator.kt:204 */
|
1292 2055 | match err {
|
2056 + | /* ServiceErrorGenerator.kt:212 */
|
1293 2057 | crate::operation::xml_blobs::XmlBlobsError::Unhandled(inner) => Error::Unhandled(inner),
|
2058 + | /* ServiceErrorGenerator.kt:204 */
|
1294 2059 | }
|
2060 + | /* ServiceErrorGenerator.kt:203 */
|
1295 2061 | }
|
2062 + | /* ServiceErrorGenerator.kt:202 */
|
1296 2063 | }
|
2064 + | /* ServiceErrorGenerator.kt:174 */
|
1297 2065 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::xml_empty_blobs::XmlEmptyBlobsError, R>> for Error
|
1298 2066 | where
|
1299 2067 | R: Send + Sync + std::fmt::Debug + 'static,
|
1300 2068 | {
|
2069 + | /* ServiceErrorGenerator.kt:179 */
|
1301 2070 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::xml_empty_blobs::XmlEmptyBlobsError, R>) -> Self {
|
2071 + | /* ServiceErrorGenerator.kt:184 */
|
1302 2072 | match err {
|
2073 + | /* ServiceErrorGenerator.kt:185 */
|
1303 2074 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2075 + | /* ServiceErrorGenerator.kt:186 */
|
1304 2076 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1305 2077 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1306 2078 | source: err.into(),
|
1307 2079 | }),
|
2080 + | /* ServiceErrorGenerator.kt:184 */
|
1308 2081 | }
|
2082 + | /* ServiceErrorGenerator.kt:179 */
|
1309 2083 | }
|
2084 + | /* ServiceErrorGenerator.kt:174 */
|
1310 2085 | }
|
2086 + | /* ServiceErrorGenerator.kt:202 */
|
1311 2087 | impl From<crate::operation::xml_empty_blobs::XmlEmptyBlobsError> for Error {
|
2088 + | /* ServiceErrorGenerator.kt:203 */
|
1312 2089 | fn from(err: crate::operation::xml_empty_blobs::XmlEmptyBlobsError) -> Self {
|
2090 + | /* ServiceErrorGenerator.kt:204 */
|
1313 2091 | match err {
|
2092 + | /* ServiceErrorGenerator.kt:212 */
|
1314 2093 | crate::operation::xml_empty_blobs::XmlEmptyBlobsError::Unhandled(inner) => Error::Unhandled(inner),
|
2094 + | /* ServiceErrorGenerator.kt:204 */
|
1315 2095 | }
|
2096 + | /* ServiceErrorGenerator.kt:203 */
|
1316 2097 | }
|
2098 + | /* ServiceErrorGenerator.kt:202 */
|
1317 2099 | }
|
2100 + | /* ServiceErrorGenerator.kt:174 */
|
1318 2101 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::xml_empty_lists::XmlEmptyListsError, R>> for Error
|
1319 2102 | where
|
1320 2103 | R: Send + Sync + std::fmt::Debug + 'static,
|
1321 2104 | {
|
2105 + | /* ServiceErrorGenerator.kt:179 */
|
1322 2106 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::xml_empty_lists::XmlEmptyListsError, R>) -> Self {
|
2107 + | /* ServiceErrorGenerator.kt:184 */
|
1323 2108 | match err {
|
2109 + | /* ServiceErrorGenerator.kt:185 */
|
1324 2110 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2111 + | /* ServiceErrorGenerator.kt:186 */
|
1325 2112 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1326 2113 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1327 2114 | source: err.into(),
|
1328 2115 | }),
|
2116 + | /* ServiceErrorGenerator.kt:184 */
|
1329 2117 | }
|
2118 + | /* ServiceErrorGenerator.kt:179 */
|
1330 2119 | }
|
2120 + | /* ServiceErrorGenerator.kt:174 */
|
1331 2121 | }
|
2122 + | /* ServiceErrorGenerator.kt:202 */
|
1332 2123 | impl From<crate::operation::xml_empty_lists::XmlEmptyListsError> for Error {
|
2124 + | /* ServiceErrorGenerator.kt:203 */
|
1333 2125 | fn from(err: crate::operation::xml_empty_lists::XmlEmptyListsError) -> Self {
|
2126 + | /* ServiceErrorGenerator.kt:204 */
|
1334 2127 | match err {
|
2128 + | /* ServiceErrorGenerator.kt:212 */
|
1335 2129 | crate::operation::xml_empty_lists::XmlEmptyListsError::Unhandled(inner) => Error::Unhandled(inner),
|
2130 + | /* ServiceErrorGenerator.kt:204 */
|
1336 2131 | }
|
2132 + | /* ServiceErrorGenerator.kt:203 */
|
1337 2133 | }
|
2134 + | /* ServiceErrorGenerator.kt:202 */
|
1338 2135 | }
|
2136 + | /* ServiceErrorGenerator.kt:174 */
|
1339 2137 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::xml_empty_maps::XmlEmptyMapsError, R>> for Error
|
1340 2138 | where
|
1341 2139 | R: Send + Sync + std::fmt::Debug + 'static,
|
1342 2140 | {
|
2141 + | /* ServiceErrorGenerator.kt:179 */
|
1343 2142 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::xml_empty_maps::XmlEmptyMapsError, R>) -> Self {
|
2143 + | /* ServiceErrorGenerator.kt:184 */
|
1344 2144 | match err {
|
2145 + | /* ServiceErrorGenerator.kt:185 */
|
1345 2146 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2147 + | /* ServiceErrorGenerator.kt:186 */
|
1346 2148 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1347 2149 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1348 2150 | source: err.into(),
|
1349 2151 | }),
|
2152 + | /* ServiceErrorGenerator.kt:184 */
|
1350 2153 | }
|
2154 + | /* ServiceErrorGenerator.kt:179 */
|
1351 2155 | }
|
2156 + | /* ServiceErrorGenerator.kt:174 */
|
1352 2157 | }
|
2158 + | /* ServiceErrorGenerator.kt:202 */
|
1353 2159 | impl From<crate::operation::xml_empty_maps::XmlEmptyMapsError> for Error {
|
2160 + | /* ServiceErrorGenerator.kt:203 */
|
1354 2161 | fn from(err: crate::operation::xml_empty_maps::XmlEmptyMapsError) -> Self {
|
2162 + | /* ServiceErrorGenerator.kt:204 */
|
1355 2163 | match err {
|
2164 + | /* ServiceErrorGenerator.kt:212 */
|
1356 2165 | crate::operation::xml_empty_maps::XmlEmptyMapsError::Unhandled(inner) => Error::Unhandled(inner),
|
2166 + | /* ServiceErrorGenerator.kt:204 */
|
1357 2167 | }
|
2168 + | /* ServiceErrorGenerator.kt:203 */
|
1358 2169 | }
|
2170 + | /* ServiceErrorGenerator.kt:202 */
|
1359 2171 | }
|
2172 + | /* ServiceErrorGenerator.kt:174 */
|
1360 2173 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::xml_empty_strings::XmlEmptyStringsError, R>> for Error
|
1361 2174 | where
|
1362 2175 | R: Send + Sync + std::fmt::Debug + 'static,
|
1363 2176 | {
|
2177 + | /* ServiceErrorGenerator.kt:179 */
|
1364 2178 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::xml_empty_strings::XmlEmptyStringsError, R>) -> Self {
|
2179 + | /* ServiceErrorGenerator.kt:184 */
|
1365 2180 | match err {
|
2181 + | /* ServiceErrorGenerator.kt:185 */
|
1366 2182 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2183 + | /* ServiceErrorGenerator.kt:186 */
|
1367 2184 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1368 2185 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1369 2186 | source: err.into(),
|
1370 2187 | }),
|
2188 + | /* ServiceErrorGenerator.kt:184 */
|
1371 2189 | }
|
2190 + | /* ServiceErrorGenerator.kt:179 */
|
1372 2191 | }
|
2192 + | /* ServiceErrorGenerator.kt:174 */
|
1373 2193 | }
|
2194 + | /* ServiceErrorGenerator.kt:202 */
|
1374 2195 | impl From<crate::operation::xml_empty_strings::XmlEmptyStringsError> for Error {
|
2196 + | /* ServiceErrorGenerator.kt:203 */
|
1375 2197 | fn from(err: crate::operation::xml_empty_strings::XmlEmptyStringsError) -> Self {
|
2198 + | /* ServiceErrorGenerator.kt:204 */
|
1376 2199 | match err {
|
2200 + | /* ServiceErrorGenerator.kt:212 */
|
1377 2201 | crate::operation::xml_empty_strings::XmlEmptyStringsError::Unhandled(inner) => Error::Unhandled(inner),
|
2202 + | /* ServiceErrorGenerator.kt:204 */
|
1378 2203 | }
|
2204 + | /* ServiceErrorGenerator.kt:203 */
|
1379 2205 | }
|
2206 + | /* ServiceErrorGenerator.kt:202 */
|
1380 2207 | }
|
2208 + | /* ServiceErrorGenerator.kt:174 */
|
1381 2209 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::xml_enums::XmlEnumsError, R>> for Error
|
1382 2210 | where
|
1383 2211 | R: Send + Sync + std::fmt::Debug + 'static,
|
1384 2212 | {
|
2213 + | /* ServiceErrorGenerator.kt:179 */
|
1385 2214 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::xml_enums::XmlEnumsError, R>) -> Self {
|
2215 + | /* ServiceErrorGenerator.kt:184 */
|
1386 2216 | match err {
|
2217 + | /* ServiceErrorGenerator.kt:185 */
|
1387 2218 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2219 + | /* ServiceErrorGenerator.kt:186 */
|
1388 2220 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1389 2221 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1390 2222 | source: err.into(),
|
1391 2223 | }),
|
2224 + | /* ServiceErrorGenerator.kt:184 */
|
1392 2225 | }
|
2226 + | /* ServiceErrorGenerator.kt:179 */
|
1393 2227 | }
|
2228 + | /* ServiceErrorGenerator.kt:174 */
|
1394 2229 | }
|
2230 + | /* ServiceErrorGenerator.kt:202 */
|
1395 2231 | impl From<crate::operation::xml_enums::XmlEnumsError> for Error {
|
2232 + | /* ServiceErrorGenerator.kt:203 */
|
1396 2233 | fn from(err: crate::operation::xml_enums::XmlEnumsError) -> Self {
|
2234 + | /* ServiceErrorGenerator.kt:204 */
|
1397 2235 | match err {
|
2236 + | /* ServiceErrorGenerator.kt:212 */
|
1398 2237 | crate::operation::xml_enums::XmlEnumsError::Unhandled(inner) => Error::Unhandled(inner),
|
2238 + | /* ServiceErrorGenerator.kt:204 */
|
1399 2239 | }
|
2240 + | /* ServiceErrorGenerator.kt:203 */
|
1400 2241 | }
|
2242 + | /* ServiceErrorGenerator.kt:202 */
|
1401 2243 | }
|
2244 + | /* ServiceErrorGenerator.kt:174 */
|
1402 2245 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::xml_int_enums::XmlIntEnumsError, R>> for Error
|
1403 2246 | where
|
1404 2247 | R: Send + Sync + std::fmt::Debug + 'static,
|
1405 2248 | {
|
2249 + | /* ServiceErrorGenerator.kt:179 */
|
1406 2250 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::xml_int_enums::XmlIntEnumsError, R>) -> Self {
|
2251 + | /* ServiceErrorGenerator.kt:184 */
|
1407 2252 | match err {
|
2253 + | /* ServiceErrorGenerator.kt:185 */
|
1408 2254 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2255 + | /* ServiceErrorGenerator.kt:186 */
|
1409 2256 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1410 2257 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1411 2258 | source: err.into(),
|
1412 2259 | }),
|
2260 + | /* ServiceErrorGenerator.kt:184 */
|
1413 2261 | }
|
2262 + | /* ServiceErrorGenerator.kt:179 */
|
1414 2263 | }
|
2264 + | /* ServiceErrorGenerator.kt:174 */
|
1415 2265 | }
|
2266 + | /* ServiceErrorGenerator.kt:202 */
|
1416 2267 | impl From<crate::operation::xml_int_enums::XmlIntEnumsError> for Error {
|
2268 + | /* ServiceErrorGenerator.kt:203 */
|
1417 2269 | fn from(err: crate::operation::xml_int_enums::XmlIntEnumsError) -> Self {
|
2270 + | /* ServiceErrorGenerator.kt:204 */
|
1418 2271 | match err {
|
2272 + | /* ServiceErrorGenerator.kt:212 */
|
1419 2273 | crate::operation::xml_int_enums::XmlIntEnumsError::Unhandled(inner) => Error::Unhandled(inner),
|
2274 + | /* ServiceErrorGenerator.kt:204 */
|
1420 2275 | }
|
2276 + | /* ServiceErrorGenerator.kt:203 */
|
1421 2277 | }
|
2278 + | /* ServiceErrorGenerator.kt:202 */
|
1422 2279 | }
|
2280 + | /* ServiceErrorGenerator.kt:174 */
|
1423 2281 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::xml_lists::XmlListsError, R>> for Error
|
1424 2282 | where
|
1425 2283 | R: Send + Sync + std::fmt::Debug + 'static,
|
1426 2284 | {
|
2285 + | /* ServiceErrorGenerator.kt:179 */
|
1427 2286 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::xml_lists::XmlListsError, R>) -> Self {
|
2287 + | /* ServiceErrorGenerator.kt:184 */
|
1428 2288 | match err {
|
2289 + | /* ServiceErrorGenerator.kt:185 */
|
1429 2290 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2291 + | /* ServiceErrorGenerator.kt:186 */
|
1430 2292 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1431 2293 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1432 2294 | source: err.into(),
|
1433 2295 | }),
|
2296 + | /* ServiceErrorGenerator.kt:184 */
|
1434 2297 | }
|
2298 + | /* ServiceErrorGenerator.kt:179 */
|
1435 2299 | }
|
2300 + | /* ServiceErrorGenerator.kt:174 */
|
1436 2301 | }
|
2302 + | /* ServiceErrorGenerator.kt:202 */
|
1437 2303 | impl From<crate::operation::xml_lists::XmlListsError> for Error {
|
2304 + | /* ServiceErrorGenerator.kt:203 */
|
1438 2305 | fn from(err: crate::operation::xml_lists::XmlListsError) -> Self {
|
2306 + | /* ServiceErrorGenerator.kt:204 */
|
1439 2307 | match err {
|
2308 + | /* ServiceErrorGenerator.kt:212 */
|
1440 2309 | crate::operation::xml_lists::XmlListsError::Unhandled(inner) => Error::Unhandled(inner),
|
2310 + | /* ServiceErrorGenerator.kt:204 */
|
1441 2311 | }
|
2312 + | /* ServiceErrorGenerator.kt:203 */
|
1442 2313 | }
|
2314 + | /* ServiceErrorGenerator.kt:202 */
|
1443 2315 | }
|
2316 + | /* ServiceErrorGenerator.kt:174 */
|
1444 2317 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::xml_maps::XmlMapsError, R>> for Error
|
1445 2318 | where
|
1446 2319 | R: Send + Sync + std::fmt::Debug + 'static,
|
1447 2320 | {
|
2321 + | /* ServiceErrorGenerator.kt:179 */
|
1448 2322 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::xml_maps::XmlMapsError, R>) -> Self {
|
2323 + | /* ServiceErrorGenerator.kt:184 */
|
1449 2324 | match err {
|
2325 + | /* ServiceErrorGenerator.kt:185 */
|
1450 2326 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2327 + | /* ServiceErrorGenerator.kt:186 */
|
1451 2328 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1452 2329 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1453 2330 | source: err.into(),
|
1454 2331 | }),
|
2332 + | /* ServiceErrorGenerator.kt:184 */
|
1455 2333 | }
|
2334 + | /* ServiceErrorGenerator.kt:179 */
|
1456 2335 | }
|
2336 + | /* ServiceErrorGenerator.kt:174 */
|
1457 2337 | }
|
2338 + | /* ServiceErrorGenerator.kt:202 */
|
1458 2339 | impl From<crate::operation::xml_maps::XmlMapsError> for Error {
|
2340 + | /* ServiceErrorGenerator.kt:203 */
|
1459 2341 | fn from(err: crate::operation::xml_maps::XmlMapsError) -> Self {
|
2342 + | /* ServiceErrorGenerator.kt:204 */
|
1460 2343 | match err {
|
2344 + | /* ServiceErrorGenerator.kt:212 */
|
1461 2345 | crate::operation::xml_maps::XmlMapsError::Unhandled(inner) => Error::Unhandled(inner),
|
2346 + | /* ServiceErrorGenerator.kt:204 */
|
1462 2347 | }
|
2348 + | /* ServiceErrorGenerator.kt:203 */
|
1463 2349 | }
|
2350 + | /* ServiceErrorGenerator.kt:202 */
|
1464 2351 | }
|
2352 + | /* ServiceErrorGenerator.kt:174 */
|
1465 2353 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::xml_maps_xml_name::XmlMapsXmlNameError, R>> for Error
|
1466 2354 | where
|
1467 2355 | R: Send + Sync + std::fmt::Debug + 'static,
|
1468 2356 | {
|
2357 + | /* ServiceErrorGenerator.kt:179 */
|
1469 2358 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::xml_maps_xml_name::XmlMapsXmlNameError, R>) -> Self {
|
2359 + | /* ServiceErrorGenerator.kt:184 */
|
1470 2360 | match err {
|
2361 + | /* ServiceErrorGenerator.kt:185 */
|
1471 2362 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2363 + | /* ServiceErrorGenerator.kt:186 */
|
1472 2364 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1473 2365 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1474 2366 | source: err.into(),
|
1475 2367 | }),
|
2368 + | /* ServiceErrorGenerator.kt:184 */
|
1476 2369 | }
|
2370 + | /* ServiceErrorGenerator.kt:179 */
|
1477 2371 | }
|
2372 + | /* ServiceErrorGenerator.kt:174 */
|
1478 2373 | }
|
2374 + | /* ServiceErrorGenerator.kt:202 */
|
1479 2375 | impl From<crate::operation::xml_maps_xml_name::XmlMapsXmlNameError> for Error {
|
2376 + | /* ServiceErrorGenerator.kt:203 */
|
1480 2377 | fn from(err: crate::operation::xml_maps_xml_name::XmlMapsXmlNameError) -> Self {
|
2378 + | /* ServiceErrorGenerator.kt:204 */
|
1481 2379 | match err {
|
2380 + | /* ServiceErrorGenerator.kt:212 */
|
1482 2381 | crate::operation::xml_maps_xml_name::XmlMapsXmlNameError::Unhandled(inner) => Error::Unhandled(inner),
|
2382 + | /* ServiceErrorGenerator.kt:204 */
|
1483 2383 | }
|
2384 + | /* ServiceErrorGenerator.kt:203 */
|
1484 2385 | }
|
2386 + | /* ServiceErrorGenerator.kt:202 */
|
1485 2387 | }
|
2388 + | /* ServiceErrorGenerator.kt:174 */
|
1486 2389 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::xml_map_with_xml_namespace::XmlMapWithXmlNamespaceError, R>>
|
1487 2390 | for Error
|
1488 2391 | where
|
1489 2392 | R: Send + Sync + std::fmt::Debug + 'static,
|
1490 2393 | {
|
2394 + | /* ServiceErrorGenerator.kt:179 */
|
1491 2395 | fn from(
|
1492 2396 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::xml_map_with_xml_namespace::XmlMapWithXmlNamespaceError, R>,
|
1493 2397 | ) -> Self {
|
2398 + | /* ServiceErrorGenerator.kt:184 */
|
1494 2399 | match err {
|
2400 + | /* ServiceErrorGenerator.kt:185 */
|
1495 2401 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2402 + | /* ServiceErrorGenerator.kt:186 */
|
1496 2403 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1497 2404 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1498 2405 | source: err.into(),
|
1499 2406 | }),
|
2407 + | /* ServiceErrorGenerator.kt:184 */
|
1500 2408 | }
|
2409 + | /* ServiceErrorGenerator.kt:179 */
|
1501 2410 | }
|
2411 + | /* ServiceErrorGenerator.kt:174 */
|
1502 2412 | }
|
2413 + | /* ServiceErrorGenerator.kt:202 */
|
1503 2414 | impl From<crate::operation::xml_map_with_xml_namespace::XmlMapWithXmlNamespaceError> for Error {
|
2415 + | /* ServiceErrorGenerator.kt:203 */
|
1504 2416 | fn from(err: crate::operation::xml_map_with_xml_namespace::XmlMapWithXmlNamespaceError) -> Self {
|
2417 + | /* ServiceErrorGenerator.kt:204 */
|
1505 2418 | match err {
|
2419 + | /* ServiceErrorGenerator.kt:212 */
|
1506 2420 | crate::operation::xml_map_with_xml_namespace::XmlMapWithXmlNamespaceError::Unhandled(inner) => Error::Unhandled(inner),
|
2421 + | /* ServiceErrorGenerator.kt:204 */
|
1507 2422 | }
|
2423 + | /* ServiceErrorGenerator.kt:203 */
|
1508 2424 | }
|
2425 + | /* ServiceErrorGenerator.kt:202 */
|
1509 2426 | }
|
2427 + | /* ServiceErrorGenerator.kt:174 */
|
1510 2428 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::xml_namespaces::XmlNamespacesError, R>> for Error
|
1511 2429 | where
|
1512 2430 | R: Send + Sync + std::fmt::Debug + 'static,
|
1513 2431 | {
|
2432 + | /* ServiceErrorGenerator.kt:179 */
|
1514 2433 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::xml_namespaces::XmlNamespacesError, R>) -> Self {
|
2434 + | /* ServiceErrorGenerator.kt:184 */
|
1515 2435 | match err {
|
2436 + | /* ServiceErrorGenerator.kt:185 */
|
1516 2437 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2438 + | /* ServiceErrorGenerator.kt:186 */
|
1517 2439 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1518 2440 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1519 2441 | source: err.into(),
|
1520 2442 | }),
|
2443 + | /* ServiceErrorGenerator.kt:184 */
|
1521 2444 | }
|
2445 + | /* ServiceErrorGenerator.kt:179 */
|
1522 2446 | }
|
2447 + | /* ServiceErrorGenerator.kt:174 */
|
1523 2448 | }
|
2449 + | /* ServiceErrorGenerator.kt:202 */
|
1524 2450 | impl From<crate::operation::xml_namespaces::XmlNamespacesError> for Error {
|
2451 + | /* ServiceErrorGenerator.kt:203 */
|
1525 2452 | fn from(err: crate::operation::xml_namespaces::XmlNamespacesError) -> Self {
|
2453 + | /* ServiceErrorGenerator.kt:204 */
|
1526 2454 | match err {
|
2455 + | /* ServiceErrorGenerator.kt:212 */
|
1527 2456 | crate::operation::xml_namespaces::XmlNamespacesError::Unhandled(inner) => Error::Unhandled(inner),
|
2457 + | /* ServiceErrorGenerator.kt:204 */
|
1528 2458 | }
|
2459 + | /* ServiceErrorGenerator.kt:203 */
|
1529 2460 | }
|
2461 + | /* ServiceErrorGenerator.kt:202 */
|
1530 2462 | }
|
2463 + | /* ServiceErrorGenerator.kt:174 */
|
1531 2464 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::xml_timestamps::XmlTimestampsError, R>> for Error
|
1532 2465 | where
|
1533 2466 | R: Send + Sync + std::fmt::Debug + 'static,
|
1534 2467 | {
|
2468 + | /* ServiceErrorGenerator.kt:179 */
|
1535 2469 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::xml_timestamps::XmlTimestampsError, R>) -> Self {
|
2470 + | /* ServiceErrorGenerator.kt:184 */
|
1536 2471 | match err {
|
2472 + | /* ServiceErrorGenerator.kt:185 */
|
1537 2473 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2474 + | /* ServiceErrorGenerator.kt:186 */
|
1538 2475 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1539 2476 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1540 2477 | source: err.into(),
|
1541 2478 | }),
|
2479 + | /* ServiceErrorGenerator.kt:184 */
|
1542 2480 | }
|
2481 + | /* ServiceErrorGenerator.kt:179 */
|
1543 2482 | }
|
2483 + | /* ServiceErrorGenerator.kt:174 */
|
1544 2484 | }
|
2485 + | /* ServiceErrorGenerator.kt:202 */
|
1545 2486 | impl From<crate::operation::xml_timestamps::XmlTimestampsError> for Error {
|
2487 + | /* ServiceErrorGenerator.kt:203 */
|
1546 2488 | fn from(err: crate::operation::xml_timestamps::XmlTimestampsError) -> Self {
|
2489 + | /* ServiceErrorGenerator.kt:204 */
|
1547 2490 | match err {
|
2491 + | /* ServiceErrorGenerator.kt:212 */
|
1548 2492 | crate::operation::xml_timestamps::XmlTimestampsError::Unhandled(inner) => Error::Unhandled(inner),
|
2493 + | /* ServiceErrorGenerator.kt:204 */
|
1549 2494 | }
|
2495 + | /* ServiceErrorGenerator.kt:203 */
|
1550 2496 | }
|
2497 + | /* ServiceErrorGenerator.kt:202 */
|
1551 2498 | }
|
2499 + | /* ServiceErrorGenerator.kt:174 */
|
1552 2500 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::xml_unions::XmlUnionsError, R>> for Error
|
1553 2501 | where
|
1554 2502 | R: Send + Sync + std::fmt::Debug + 'static,
|
1555 2503 | {
|
2504 + | /* ServiceErrorGenerator.kt:179 */
|
1556 2505 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::xml_unions::XmlUnionsError, R>) -> Self {
|
2506 + | /* ServiceErrorGenerator.kt:184 */
|
1557 2507 | match err {
|
2508 + | /* ServiceErrorGenerator.kt:185 */
|
1558 2509 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2510 + | /* ServiceErrorGenerator.kt:186 */
|
1559 2511 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1560 2512 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1561 2513 | source: err.into(),
|
1562 2514 | }),
|
2515 + | /* ServiceErrorGenerator.kt:184 */
|
1563 2516 | }
|
2517 + | /* ServiceErrorGenerator.kt:179 */
|
1564 2518 | }
|
2519 + | /* ServiceErrorGenerator.kt:174 */
|
1565 2520 | }
|
2521 + | /* ServiceErrorGenerator.kt:202 */
|
1566 2522 | impl From<crate::operation::xml_unions::XmlUnionsError> for Error {
|
2523 + | /* ServiceErrorGenerator.kt:203 */
|
1567 2524 | fn from(err: crate::operation::xml_unions::XmlUnionsError) -> Self {
|
2525 + | /* ServiceErrorGenerator.kt:204 */
|
1568 2526 | match err {
|
2527 + | /* ServiceErrorGenerator.kt:212 */
|
1569 2528 | crate::operation::xml_unions::XmlUnionsError::Unhandled(inner) => Error::Unhandled(inner),
|
2529 + | /* ServiceErrorGenerator.kt:204 */
|
1570 2530 | }
|
2531 + | /* ServiceErrorGenerator.kt:203 */
|
1571 2532 | }
|
2533 + | /* ServiceErrorGenerator.kt:202 */
|
1572 2534 | }
|
2535 + | /* ServiceErrorGenerator.kt:115 */
|
1573 2536 | impl ::std::error::Error for Error {
|
2537 + | /* ServiceErrorGenerator.kt:116 */
|
1574 2538 | fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
|
2539 + | /* ServiceErrorGenerator.kt:117 */
|
1575 2540 | match self {
|
1576 - | Error::ComplexError(inner) => inner.source(),
|
1577 - | Error::InvalidGreeting(inner) => inner.source(),
|
1578 - | Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
|
2541 + | /* ServiceErrorGenerator.kt:119 */ Error::ComplexError(inner) => inner.source(),
|
2542 + | /* ServiceErrorGenerator.kt:119 */ Error::InvalidGreeting(inner) => inner.source(),
|
2543 + | /* ServiceErrorGenerator.kt:121 */
|
2544 + | Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source), /* ServiceErrorGenerator.kt:117 */
|
1579 2545 | }
|
2546 + | /* ServiceErrorGenerator.kt:116 */
|
1580 2547 | }
|
2548 + | /* ServiceErrorGenerator.kt:115 */
|
1581 2549 | }
|