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),
|
12 + | /* ServiceErrorGenerator.kt:259 */
|
8 13 | #[allow(missing_docs)] // documentation missing in model
|
14 + | /* ServiceErrorGenerator.kt:262 */
|
9 15 | ErrorWithMembers(crate::types::error::ErrorWithMembers),
|
16 + | /* ServiceErrorGenerator.kt:259 */
|
10 17 | #[allow(missing_docs)] // documentation missing in model
|
18 + | /* ServiceErrorGenerator.kt:262 */
|
11 19 | ErrorWithoutMembers(crate::types::error::ErrorWithoutMembers),
|
12 - | /// This error has test cases that test some of the dark corners of Amazon service framework history. It should only be implemented by clients.
|
20 + | /// /* ServiceErrorGenerator.kt:259 */This error has test cases that test some of the dark corners of Amazon service framework history. It should only be implemented by clients.
|
21 + | /* ServiceErrorGenerator.kt:262 */
|
13 22 | FooError(crate::types::error::FooError),
|
14 - | /// This error is thrown when an invalid greeting value is provided.
|
23 + | /// /* ServiceErrorGenerator.kt:259 */This error is thrown when an invalid greeting value is provided.
|
24 + | /* ServiceErrorGenerator.kt:262 */
|
15 25 | InvalidGreeting(crate::types::error::InvalidGreeting),
|
16 - | /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
|
26 + | /// /* ServiceErrorGenerator.kt:264 */An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
|
27 + | /* ServiceErrorGenerator.kt:320 */
|
17 28 | #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
|
18 29 | variable wildcard pattern and check `.code()`:
|
19 30 | \
|
20 31 | `err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
|
21 32 | \
|
22 33 | See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-Error) for what information is available for the error.")]
|
23 - | Unhandled(crate::error::sealed_unhandled::Unhandled),
|
34 + | /* ServiceErrorGenerator.kt:266 */
|
35 + | Unhandled(crate::error::sealed_unhandled::Unhandled), /* ServiceErrorGenerator.kt:257 */
|
24 36 | }
|
37 + | /* ServiceErrorGenerator.kt:131 */
|
25 38 | impl ::std::fmt::Display for Error {
|
39 + | /* ServiceErrorGenerator.kt:132 */
|
26 40 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
41 + | /* ServiceErrorGenerator.kt:133 */
|
27 42 | match self {
|
28 - | Error::ComplexError(inner) => inner.fmt(f),
|
29 - | Error::ErrorWithMembers(inner) => inner.fmt(f),
|
30 - | Error::ErrorWithoutMembers(inner) => inner.fmt(f),
|
31 - | Error::FooError(inner) => inner.fmt(f),
|
32 - | Error::InvalidGreeting(inner) => inner.fmt(f),
|
43 + | /* ServiceErrorGenerator.kt:135 */ Error::ComplexError(inner) => inner.fmt(f),
|
44 + | /* ServiceErrorGenerator.kt:135 */ Error::ErrorWithMembers(inner) => inner.fmt(f),
|
45 + | /* ServiceErrorGenerator.kt:135 */ Error::ErrorWithoutMembers(inner) => inner.fmt(f),
|
46 + | /* ServiceErrorGenerator.kt:135 */ Error::FooError(inner) => inner.fmt(f),
|
47 + | /* ServiceErrorGenerator.kt:135 */ Error::InvalidGreeting(inner) => inner.fmt(f),
|
48 + | /* ServiceErrorGenerator.kt:137 */
|
33 49 | Error::Unhandled(_) => {
|
34 50 | if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
|
35 51 | write!(f, "unhandled error ({code})")
|
36 52 | } else {
|
37 53 | f.write_str("unhandled error")
|
38 54 | }
|
55 + | } /* ServiceErrorGenerator.kt:133 */
|
39 56 | }
|
57 + | /* ServiceErrorGenerator.kt:132 */
|
40 58 | }
|
41 - | }
|
59 + | /* ServiceErrorGenerator.kt:131 */
|
42 60 | }
|
61 + | /* ServiceErrorGenerator.kt:154 */
|
43 62 | impl From<::aws_smithy_types::error::operation::BuildError> for Error {
|
44 63 | fn from(value: ::aws_smithy_types::error::operation::BuildError) -> Self {
|
45 64 | Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
46 65 | source: value.into(),
|
47 66 | meta: ::std::default::Default::default(),
|
48 67 | })
|
49 68 | }
|
50 69 | }
|
70 + | /* ServiceErrorGenerator.kt:223 */
|
51 71 | impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for Error {
|
52 72 | fn meta(&self) -> &::aws_smithy_types::error::metadata::ErrorMetadata {
|
53 73 | match self {
|
54 74 | Self::ComplexError(inner) => inner.meta(),
|
55 75 | Self::ErrorWithMembers(inner) => inner.meta(),
|
56 76 | Self::ErrorWithoutMembers(inner) => inner.meta(),
|
57 77 | Self::FooError(inner) => inner.meta(),
|
58 78 | Self::InvalidGreeting(inner) => inner.meta(),
|
59 79 | Self::Unhandled(inner) => &inner.meta,
|
60 80 | }
|
61 81 | }
|
62 82 | }
|
83 + | /* ServiceErrorGenerator.kt:174 */
|
63 84 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::content_type_parameters::ContentTypeParametersError, R>> for Error
|
64 85 | where
|
65 86 | R: Send + Sync + std::fmt::Debug + 'static,
|
66 87 | {
|
88 + | /* ServiceErrorGenerator.kt:179 */
|
67 89 | fn from(
|
68 90 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::content_type_parameters::ContentTypeParametersError, R>,
|
69 91 | ) -> Self {
|
92 + | /* ServiceErrorGenerator.kt:184 */
|
70 93 | match err {
|
94 + | /* ServiceErrorGenerator.kt:185 */
|
71 95 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
96 + | /* ServiceErrorGenerator.kt:186 */
|
72 97 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
73 98 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
74 99 | source: err.into(),
|
75 100 | }),
|
101 + | /* ServiceErrorGenerator.kt:184 */
|
76 102 | }
|
103 + | /* ServiceErrorGenerator.kt:179 */
|
77 104 | }
|
105 + | /* ServiceErrorGenerator.kt:174 */
|
78 106 | }
|
107 + | /* ServiceErrorGenerator.kt:202 */
|
79 108 | impl From<crate::operation::content_type_parameters::ContentTypeParametersError> for Error {
|
109 + | /* ServiceErrorGenerator.kt:203 */
|
80 110 | fn from(err: crate::operation::content_type_parameters::ContentTypeParametersError) -> Self {
|
111 + | /* ServiceErrorGenerator.kt:204 */
|
81 112 | match err {
|
113 + | /* ServiceErrorGenerator.kt:212 */
|
82 114 | crate::operation::content_type_parameters::ContentTypeParametersError::Unhandled(inner) => Error::Unhandled(inner),
|
115 + | /* ServiceErrorGenerator.kt:204 */
|
83 116 | }
|
117 + | /* ServiceErrorGenerator.kt:203 */
|
84 118 | }
|
119 + | /* ServiceErrorGenerator.kt:202 */
|
85 120 | }
|
121 + | /* ServiceErrorGenerator.kt:174 */
|
86 122 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::datetime_offsets::DatetimeOffsetsError, R>> for Error
|
87 123 | where
|
88 124 | R: Send + Sync + std::fmt::Debug + 'static,
|
89 125 | {
|
126 + | /* ServiceErrorGenerator.kt:179 */
|
90 127 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::datetime_offsets::DatetimeOffsetsError, R>) -> Self {
|
128 + | /* ServiceErrorGenerator.kt:184 */
|
91 129 | match err {
|
130 + | /* ServiceErrorGenerator.kt:185 */
|
92 131 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
132 + | /* ServiceErrorGenerator.kt:186 */
|
93 133 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
94 134 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
95 135 | source: err.into(),
|
96 136 | }),
|
137 + | /* ServiceErrorGenerator.kt:184 */
|
97 138 | }
|
139 + | /* ServiceErrorGenerator.kt:179 */
|
98 140 | }
|
141 + | /* ServiceErrorGenerator.kt:174 */
|
99 142 | }
|
143 + | /* ServiceErrorGenerator.kt:202 */
|
100 144 | impl From<crate::operation::datetime_offsets::DatetimeOffsetsError> for Error {
|
145 + | /* ServiceErrorGenerator.kt:203 */
|
101 146 | fn from(err: crate::operation::datetime_offsets::DatetimeOffsetsError) -> Self {
|
147 + | /* ServiceErrorGenerator.kt:204 */
|
102 148 | match err {
|
149 + | /* ServiceErrorGenerator.kt:212 */
|
103 150 | crate::operation::datetime_offsets::DatetimeOffsetsError::Unhandled(inner) => Error::Unhandled(inner),
|
151 + | /* ServiceErrorGenerator.kt:204 */
|
104 152 | }
|
153 + | /* ServiceErrorGenerator.kt:203 */
|
105 154 | }
|
155 + | /* ServiceErrorGenerator.kt:202 */
|
106 156 | }
|
157 + | /* ServiceErrorGenerator.kt:174 */
|
107 158 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::empty_operation::EmptyOperationError, R>> for Error
|
108 159 | where
|
109 160 | R: Send + Sync + std::fmt::Debug + 'static,
|
110 161 | {
|
162 + | /* ServiceErrorGenerator.kt:179 */
|
111 163 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::empty_operation::EmptyOperationError, R>) -> Self {
|
164 + | /* ServiceErrorGenerator.kt:184 */
|
112 165 | match err {
|
166 + | /* ServiceErrorGenerator.kt:185 */
|
113 167 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
168 + | /* ServiceErrorGenerator.kt:186 */
|
114 169 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
115 170 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
116 171 | source: err.into(),
|
117 172 | }),
|
173 + | /* ServiceErrorGenerator.kt:184 */
|
118 174 | }
|
175 + | /* ServiceErrorGenerator.kt:179 */
|
119 176 | }
|
177 + | /* ServiceErrorGenerator.kt:174 */
|
120 178 | }
|
179 + | /* ServiceErrorGenerator.kt:202 */
|
121 180 | impl From<crate::operation::empty_operation::EmptyOperationError> for Error {
|
181 + | /* ServiceErrorGenerator.kt:203 */
|
122 182 | fn from(err: crate::operation::empty_operation::EmptyOperationError) -> Self {
|
183 + | /* ServiceErrorGenerator.kt:204 */
|
123 184 | match err {
|
185 + | /* ServiceErrorGenerator.kt:212 */
|
124 186 | crate::operation::empty_operation::EmptyOperationError::Unhandled(inner) => Error::Unhandled(inner),
|
187 + | /* ServiceErrorGenerator.kt:204 */
|
125 188 | }
|
189 + | /* ServiceErrorGenerator.kt:203 */
|
126 190 | }
|
191 + | /* ServiceErrorGenerator.kt:202 */
|
127 192 | }
|
193 + | /* ServiceErrorGenerator.kt:174 */
|
128 194 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::endpoint_operation::EndpointOperationError, R>> for Error
|
129 195 | where
|
130 196 | R: Send + Sync + std::fmt::Debug + 'static,
|
131 197 | {
|
198 + | /* ServiceErrorGenerator.kt:179 */
|
132 199 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::endpoint_operation::EndpointOperationError, R>) -> Self {
|
200 + | /* ServiceErrorGenerator.kt:184 */
|
133 201 | match err {
|
202 + | /* ServiceErrorGenerator.kt:185 */
|
134 203 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
204 + | /* ServiceErrorGenerator.kt:186 */
|
135 205 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
136 206 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
137 207 | source: err.into(),
|
138 208 | }),
|
209 + | /* ServiceErrorGenerator.kt:184 */
|
139 210 | }
|
211 + | /* ServiceErrorGenerator.kt:179 */
|
140 212 | }
|
213 + | /* ServiceErrorGenerator.kt:174 */
|
141 214 | }
|
215 + | /* ServiceErrorGenerator.kt:202 */
|
142 216 | impl From<crate::operation::endpoint_operation::EndpointOperationError> for Error {
|
217 + | /* ServiceErrorGenerator.kt:203 */
|
143 218 | fn from(err: crate::operation::endpoint_operation::EndpointOperationError) -> Self {
|
219 + | /* ServiceErrorGenerator.kt:204 */
|
144 220 | match err {
|
221 + | /* ServiceErrorGenerator.kt:212 */
|
145 222 | crate::operation::endpoint_operation::EndpointOperationError::Unhandled(inner) => Error::Unhandled(inner),
|
223 + | /* ServiceErrorGenerator.kt:204 */
|
146 224 | }
|
225 + | /* ServiceErrorGenerator.kt:203 */
|
147 226 | }
|
227 + | /* ServiceErrorGenerator.kt:202 */
|
148 228 | }
|
229 + | /* ServiceErrorGenerator.kt:174 */
|
149 230 | impl<R>
|
150 231 | From<
|
151 232 | ::aws_smithy_runtime_api::client::result::SdkError<
|
152 233 | crate::operation::endpoint_with_host_label_operation::EndpointWithHostLabelOperationError,
|
153 234 | R,
|
154 235 | >,
|
155 236 | > for Error
|
156 237 | where
|
157 238 | R: Send + Sync + std::fmt::Debug + 'static,
|
158 239 | {
|
240 + | /* ServiceErrorGenerator.kt:179 */
|
159 241 | fn from(
|
160 242 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
161 243 | crate::operation::endpoint_with_host_label_operation::EndpointWithHostLabelOperationError,
|
162 244 | R,
|
163 245 | >,
|
164 246 | ) -> Self {
|
247 + | /* ServiceErrorGenerator.kt:184 */
|
165 248 | match err {
|
249 + | /* ServiceErrorGenerator.kt:185 */
|
166 250 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
251 + | /* ServiceErrorGenerator.kt:186 */
|
167 252 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
168 253 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
169 254 | source: err.into(),
|
170 255 | }),
|
256 + | /* ServiceErrorGenerator.kt:184 */
|
171 257 | }
|
258 + | /* ServiceErrorGenerator.kt:179 */
|
172 259 | }
|
260 + | /* ServiceErrorGenerator.kt:174 */
|
173 261 | }
|
262 + | /* ServiceErrorGenerator.kt:202 */
|
174 263 | impl From<crate::operation::endpoint_with_host_label_operation::EndpointWithHostLabelOperationError> for Error {
|
264 + | /* ServiceErrorGenerator.kt:203 */
|
175 265 | fn from(err: crate::operation::endpoint_with_host_label_operation::EndpointWithHostLabelOperationError) -> Self {
|
266 + | /* ServiceErrorGenerator.kt:204 */
|
176 267 | match err {
|
268 + | /* ServiceErrorGenerator.kt:212 */
|
177 269 | crate::operation::endpoint_with_host_label_operation::EndpointWithHostLabelOperationError::Unhandled(inner) => Error::Unhandled(inner),
|
270 + | /* ServiceErrorGenerator.kt:204 */
|
178 271 | }
|
272 + | /* ServiceErrorGenerator.kt:203 */
|
179 273 | }
|
274 + | /* ServiceErrorGenerator.kt:202 */
|
180 275 | }
|
276 + | /* ServiceErrorGenerator.kt:174 */
|
181 277 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::fractional_seconds::FractionalSecondsError, R>> for Error
|
182 278 | where
|
183 279 | R: Send + Sync + std::fmt::Debug + 'static,
|
184 280 | {
|
281 + | /* ServiceErrorGenerator.kt:179 */
|
185 282 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::fractional_seconds::FractionalSecondsError, R>) -> Self {
|
283 + | /* ServiceErrorGenerator.kt:184 */
|
186 284 | match err {
|
285 + | /* ServiceErrorGenerator.kt:185 */
|
187 286 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
287 + | /* ServiceErrorGenerator.kt:186 */
|
188 288 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
189 289 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
190 290 | source: err.into(),
|
191 291 | }),
|
292 + | /* ServiceErrorGenerator.kt:184 */
|
192 293 | }
|
294 + | /* ServiceErrorGenerator.kt:179 */
|
193 295 | }
|
296 + | /* ServiceErrorGenerator.kt:174 */
|
194 297 | }
|
298 + | /* ServiceErrorGenerator.kt:202 */
|
195 299 | impl From<crate::operation::fractional_seconds::FractionalSecondsError> for Error {
|
300 + | /* ServiceErrorGenerator.kt:203 */
|
196 301 | fn from(err: crate::operation::fractional_seconds::FractionalSecondsError) -> Self {
|
302 + | /* ServiceErrorGenerator.kt:204 */
|
197 303 | match err {
|
304 + | /* ServiceErrorGenerator.kt:212 */
|
198 305 | crate::operation::fractional_seconds::FractionalSecondsError::Unhandled(inner) => Error::Unhandled(inner),
|
306 + | /* ServiceErrorGenerator.kt:204 */
|
199 307 | }
|
308 + | /* ServiceErrorGenerator.kt:203 */
|
200 309 | }
|
310 + | /* ServiceErrorGenerator.kt:202 */
|
201 311 | }
|
312 + | /* ServiceErrorGenerator.kt:174 */
|
202 313 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::greeting_with_errors::GreetingWithErrorsError, R>> for Error
|
203 314 | where
|
204 315 | R: Send + Sync + std::fmt::Debug + 'static,
|
205 316 | {
|
317 + | /* ServiceErrorGenerator.kt:179 */
|
206 318 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::greeting_with_errors::GreetingWithErrorsError, R>) -> Self {
|
319 + | /* ServiceErrorGenerator.kt:184 */
|
207 320 | match err {
|
321 + | /* ServiceErrorGenerator.kt:185 */
|
208 322 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
323 + | /* ServiceErrorGenerator.kt:186 */
|
209 324 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
210 325 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
211 326 | source: err.into(),
|
212 327 | }),
|
328 + | /* ServiceErrorGenerator.kt:184 */
|
213 329 | }
|
330 + | /* ServiceErrorGenerator.kt:179 */
|
214 331 | }
|
332 + | /* ServiceErrorGenerator.kt:174 */
|
215 333 | }
|
334 + | /* ServiceErrorGenerator.kt:202 */
|
216 335 | impl From<crate::operation::greeting_with_errors::GreetingWithErrorsError> for Error {
|
336 + | /* ServiceErrorGenerator.kt:203 */
|
217 337 | fn from(err: crate::operation::greeting_with_errors::GreetingWithErrorsError) -> Self {
|
338 + | /* ServiceErrorGenerator.kt:204 */
|
218 339 | match err {
|
340 + | /* ServiceErrorGenerator.kt:207 */
|
219 341 | crate::operation::greeting_with_errors::GreetingWithErrorsError::InvalidGreeting(inner) => Error::InvalidGreeting(inner),
|
342 + | /* ServiceErrorGenerator.kt:207 */
|
220 343 | crate::operation::greeting_with_errors::GreetingWithErrorsError::ComplexError(inner) => Error::ComplexError(inner),
|
344 + | /* ServiceErrorGenerator.kt:207 */
|
221 345 | crate::operation::greeting_with_errors::GreetingWithErrorsError::FooError(inner) => Error::FooError(inner),
|
346 + | /* ServiceErrorGenerator.kt:212 */
|
222 347 | crate::operation::greeting_with_errors::GreetingWithErrorsError::Unhandled(inner) => Error::Unhandled(inner),
|
348 + | /* ServiceErrorGenerator.kt:204 */
|
223 349 | }
|
350 + | /* ServiceErrorGenerator.kt:203 */
|
224 351 | }
|
352 + | /* ServiceErrorGenerator.kt:202 */
|
225 353 | }
|
354 + | /* ServiceErrorGenerator.kt:174 */
|
226 355 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::host_with_path_operation::HostWithPathOperationError, R>> for Error
|
227 356 | where
|
228 357 | R: Send + Sync + std::fmt::Debug + 'static,
|
229 358 | {
|
359 + | /* ServiceErrorGenerator.kt:179 */
|
230 360 | fn from(
|
231 361 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::host_with_path_operation::HostWithPathOperationError, R>,
|
232 362 | ) -> Self {
|
363 + | /* ServiceErrorGenerator.kt:184 */
|
233 364 | match err {
|
365 + | /* ServiceErrorGenerator.kt:185 */
|
234 366 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
367 + | /* ServiceErrorGenerator.kt:186 */
|
235 368 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
236 369 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
237 370 | source: err.into(),
|
238 371 | }),
|
372 + | /* ServiceErrorGenerator.kt:184 */
|
239 373 | }
|
374 + | /* ServiceErrorGenerator.kt:179 */
|
240 375 | }
|
376 + | /* ServiceErrorGenerator.kt:174 */
|
241 377 | }
|
378 + | /* ServiceErrorGenerator.kt:202 */
|
242 379 | impl From<crate::operation::host_with_path_operation::HostWithPathOperationError> for Error {
|
380 + | /* ServiceErrorGenerator.kt:203 */
|
243 381 | fn from(err: crate::operation::host_with_path_operation::HostWithPathOperationError) -> Self {
|
382 + | /* ServiceErrorGenerator.kt:204 */
|
244 383 | match err {
|
384 + | /* ServiceErrorGenerator.kt:212 */
|
245 385 | crate::operation::host_with_path_operation::HostWithPathOperationError::Unhandled(inner) => Error::Unhandled(inner),
|
386 + | /* ServiceErrorGenerator.kt:204 */
|
246 387 | }
|
388 + | /* ServiceErrorGenerator.kt:203 */
|
247 389 | }
|
390 + | /* ServiceErrorGenerator.kt:202 */
|
248 391 | }
|
392 + | /* ServiceErrorGenerator.kt:174 */
|
249 393 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::json_enums::JsonEnumsError, R>> for Error
|
250 394 | where
|
251 395 | R: Send + Sync + std::fmt::Debug + 'static,
|
252 396 | {
|
397 + | /* ServiceErrorGenerator.kt:179 */
|
253 398 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::json_enums::JsonEnumsError, R>) -> Self {
|
399 + | /* ServiceErrorGenerator.kt:184 */
|
254 400 | match err {
|
401 + | /* ServiceErrorGenerator.kt:185 */
|
255 402 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
403 + | /* ServiceErrorGenerator.kt:186 */
|
256 404 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
257 405 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
258 406 | source: err.into(),
|
259 407 | }),
|
408 + | /* ServiceErrorGenerator.kt:184 */
|
260 409 | }
|
410 + | /* ServiceErrorGenerator.kt:179 */
|
261 411 | }
|
412 + | /* ServiceErrorGenerator.kt:174 */
|
262 413 | }
|
414 + | /* ServiceErrorGenerator.kt:202 */
|
263 415 | impl From<crate::operation::json_enums::JsonEnumsError> for Error {
|
416 + | /* ServiceErrorGenerator.kt:203 */
|
264 417 | fn from(err: crate::operation::json_enums::JsonEnumsError) -> Self {
|
418 + | /* ServiceErrorGenerator.kt:204 */
|
265 419 | match err {
|
420 + | /* ServiceErrorGenerator.kt:212 */
|
266 421 | crate::operation::json_enums::JsonEnumsError::Unhandled(inner) => Error::Unhandled(inner),
|
422 + | /* ServiceErrorGenerator.kt:204 */
|
267 423 | }
|
424 + | /* ServiceErrorGenerator.kt:203 */
|
268 425 | }
|
426 + | /* ServiceErrorGenerator.kt:202 */
|
269 427 | }
|
428 + | /* ServiceErrorGenerator.kt:174 */
|
270 429 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::json_unions::JsonUnionsError, R>> for Error
|
271 430 | where
|
272 431 | R: Send + Sync + std::fmt::Debug + 'static,
|
273 432 | {
|
433 + | /* ServiceErrorGenerator.kt:179 */
|
274 434 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::json_unions::JsonUnionsError, R>) -> Self {
|
435 + | /* ServiceErrorGenerator.kt:184 */
|
275 436 | match err {
|
437 + | /* ServiceErrorGenerator.kt:185 */
|
276 438 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
439 + | /* ServiceErrorGenerator.kt:186 */
|
277 440 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
278 441 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
279 442 | source: err.into(),
|
280 443 | }),
|
444 + | /* ServiceErrorGenerator.kt:184 */
|
281 445 | }
|
446 + | /* ServiceErrorGenerator.kt:179 */
|
282 447 | }
|
448 + | /* ServiceErrorGenerator.kt:174 */
|
283 449 | }
|
450 + | /* ServiceErrorGenerator.kt:202 */
|
284 451 | impl From<crate::operation::json_unions::JsonUnionsError> for Error {
|
452 + | /* ServiceErrorGenerator.kt:203 */
|
285 453 | fn from(err: crate::operation::json_unions::JsonUnionsError) -> Self {
|
454 + | /* ServiceErrorGenerator.kt:204 */
|
286 455 | match err {
|
456 + | /* ServiceErrorGenerator.kt:212 */
|
287 457 | crate::operation::json_unions::JsonUnionsError::Unhandled(inner) => Error::Unhandled(inner),
|
458 + | /* ServiceErrorGenerator.kt:204 */
|
288 459 | }
|
460 + | /* ServiceErrorGenerator.kt:203 */
|
289 461 | }
|
462 + | /* ServiceErrorGenerator.kt:202 */
|
290 463 | }
|
464 + | /* ServiceErrorGenerator.kt:174 */
|
291 465 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::kitchen_sink_operation::KitchenSinkOperationError, R>> for Error
|
292 466 | where
|
293 467 | R: Send + Sync + std::fmt::Debug + 'static,
|
294 468 | {
|
469 + | /* ServiceErrorGenerator.kt:179 */
|
295 470 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::kitchen_sink_operation::KitchenSinkOperationError, R>) -> Self {
|
471 + | /* ServiceErrorGenerator.kt:184 */
|
296 472 | match err {
|
473 + | /* ServiceErrorGenerator.kt:185 */
|
297 474 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
475 + | /* ServiceErrorGenerator.kt:186 */
|
298 476 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
299 477 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
300 478 | source: err.into(),
|
301 479 | }),
|
480 + | /* ServiceErrorGenerator.kt:184 */
|
302 481 | }
|
482 + | /* ServiceErrorGenerator.kt:179 */
|
303 483 | }
|
484 + | /* ServiceErrorGenerator.kt:174 */
|
304 485 | }
|
486 + | /* ServiceErrorGenerator.kt:202 */
|
305 487 | impl From<crate::operation::kitchen_sink_operation::KitchenSinkOperationError> for Error {
|
488 + | /* ServiceErrorGenerator.kt:203 */
|
306 489 | fn from(err: crate::operation::kitchen_sink_operation::KitchenSinkOperationError) -> Self {
|
490 + | /* ServiceErrorGenerator.kt:204 */
|
307 491 | match err {
|
492 + | /* ServiceErrorGenerator.kt:207 */
|
308 493 | crate::operation::kitchen_sink_operation::KitchenSinkOperationError::ErrorWithMembers(inner) => Error::ErrorWithMembers(inner),
|
494 + | /* ServiceErrorGenerator.kt:207 */
|
309 495 | crate::operation::kitchen_sink_operation::KitchenSinkOperationError::ErrorWithoutMembers(inner) => Error::ErrorWithoutMembers(inner),
|
496 + | /* ServiceErrorGenerator.kt:212 */
|
310 497 | crate::operation::kitchen_sink_operation::KitchenSinkOperationError::Unhandled(inner) => Error::Unhandled(inner),
|
498 + | /* ServiceErrorGenerator.kt:204 */
|
311 499 | }
|
500 + | /* ServiceErrorGenerator.kt:203 */
|
312 501 | }
|
502 + | /* ServiceErrorGenerator.kt:202 */
|
313 503 | }
|
504 + | /* ServiceErrorGenerator.kt:174 */
|
314 505 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::null_operation::NullOperationError, R>> for Error
|
315 506 | where
|
316 507 | R: Send + Sync + std::fmt::Debug + 'static,
|
317 508 | {
|
509 + | /* ServiceErrorGenerator.kt:179 */
|
318 510 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::null_operation::NullOperationError, R>) -> Self {
|
511 + | /* ServiceErrorGenerator.kt:184 */
|
319 512 | match err {
|
513 + | /* ServiceErrorGenerator.kt:185 */
|
320 514 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
515 + | /* ServiceErrorGenerator.kt:186 */
|
321 516 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
322 517 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
323 518 | source: err.into(),
|
324 519 | }),
|
520 + | /* ServiceErrorGenerator.kt:184 */
|
325 521 | }
|
522 + | /* ServiceErrorGenerator.kt:179 */
|
326 523 | }
|
524 + | /* ServiceErrorGenerator.kt:174 */
|
327 525 | }
|
526 + | /* ServiceErrorGenerator.kt:202 */
|
328 527 | impl From<crate::operation::null_operation::NullOperationError> for Error {
|
528 + | /* ServiceErrorGenerator.kt:203 */
|
329 529 | fn from(err: crate::operation::null_operation::NullOperationError) -> Self {
|
530 + | /* ServiceErrorGenerator.kt:204 */
|
330 531 | match err {
|
532 + | /* ServiceErrorGenerator.kt:212 */
|
331 533 | crate::operation::null_operation::NullOperationError::Unhandled(inner) => Error::Unhandled(inner),
|
534 + | /* ServiceErrorGenerator.kt:204 */
|
332 535 | }
|
536 + | /* ServiceErrorGenerator.kt:203 */
|
333 537 | }
|
538 + | /* ServiceErrorGenerator.kt:202 */
|
334 539 | }
|
540 + | /* ServiceErrorGenerator.kt:174 */
|
335 541 | impl<R>
|
336 542 | From<
|
337 543 | ::aws_smithy_runtime_api::client::result::SdkError<
|
338 544 | crate::operation::operation_with_optional_input_output::OperationWithOptionalInputOutputError,
|
339 545 | R,
|
340 546 | >,
|
341 547 | > for Error
|
342 548 | where
|
343 549 | R: Send + Sync + std::fmt::Debug + 'static,
|
344 550 | {
|
551 + | /* ServiceErrorGenerator.kt:179 */
|
345 552 | fn from(
|
346 553 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
347 554 | crate::operation::operation_with_optional_input_output::OperationWithOptionalInputOutputError,
|
348 555 | R,
|
349 556 | >,
|
350 557 | ) -> Self {
|
558 + | /* ServiceErrorGenerator.kt:184 */
|
351 559 | match err {
|
560 + | /* ServiceErrorGenerator.kt:185 */
|
352 561 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
562 + | /* ServiceErrorGenerator.kt:186 */
|
353 563 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
354 564 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
355 565 | source: err.into(),
|
356 566 | }),
|
567 + | /* ServiceErrorGenerator.kt:184 */
|
357 568 | }
|
569 + | /* ServiceErrorGenerator.kt:179 */
|
358 570 | }
|
571 + | /* ServiceErrorGenerator.kt:174 */
|
359 572 | }
|
573 + | /* ServiceErrorGenerator.kt:202 */
|
360 574 | impl From<crate::operation::operation_with_optional_input_output::OperationWithOptionalInputOutputError> for Error {
|
575 + | /* ServiceErrorGenerator.kt:203 */
|
361 576 | fn from(err: crate::operation::operation_with_optional_input_output::OperationWithOptionalInputOutputError) -> Self {
|
577 + | /* ServiceErrorGenerator.kt:204 */
|
362 578 | match err {
|
579 + | /* ServiceErrorGenerator.kt:212 */
|
363 580 | crate::operation::operation_with_optional_input_output::OperationWithOptionalInputOutputError::Unhandled(inner) => {
|
364 581 | Error::Unhandled(inner)
|
365 582 | }
|
583 + | /* ServiceErrorGenerator.kt:204 */
|
366 584 | }
|
585 + | /* ServiceErrorGenerator.kt:203 */
|
367 586 | }
|
587 + | /* ServiceErrorGenerator.kt:202 */
|
368 588 | }
|
589 + | /* ServiceErrorGenerator.kt:174 */
|
369 590 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_and_get_inline_documents::PutAndGetInlineDocumentsError, R>>
|
370 591 | for Error
|
371 592 | where
|
372 593 | R: Send + Sync + std::fmt::Debug + 'static,
|
373 594 | {
|
595 + | /* ServiceErrorGenerator.kt:179 */
|
374 596 | fn from(
|
375 597 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_and_get_inline_documents::PutAndGetInlineDocumentsError, R>,
|
376 598 | ) -> Self {
|
599 + | /* ServiceErrorGenerator.kt:184 */
|
377 600 | match err {
|
601 + | /* ServiceErrorGenerator.kt:185 */
|
378 602 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
603 + | /* ServiceErrorGenerator.kt:186 */
|
379 604 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
380 605 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
381 606 | source: err.into(),
|
382 607 | }),
|
608 + | /* ServiceErrorGenerator.kt:184 */
|
383 609 | }
|
610 + | /* ServiceErrorGenerator.kt:179 */
|
384 611 | }
|
612 + | /* ServiceErrorGenerator.kt:174 */
|
385 613 | }
|
614 + | /* ServiceErrorGenerator.kt:202 */
|
386 615 | impl From<crate::operation::put_and_get_inline_documents::PutAndGetInlineDocumentsError> for Error {
|
616 + | /* ServiceErrorGenerator.kt:203 */
|
387 617 | fn from(err: crate::operation::put_and_get_inline_documents::PutAndGetInlineDocumentsError) -> Self {
|
618 + | /* ServiceErrorGenerator.kt:204 */
|
388 619 | match err {
|
620 + | /* ServiceErrorGenerator.kt:212 */
|
389 621 | crate::operation::put_and_get_inline_documents::PutAndGetInlineDocumentsError::Unhandled(inner) => Error::Unhandled(inner),
|
622 + | /* ServiceErrorGenerator.kt:204 */
|
390 623 | }
|
624 + | /* ServiceErrorGenerator.kt:203 */
|
391 625 | }
|
626 + | /* ServiceErrorGenerator.kt:202 */
|
392 627 | }
|
628 + | /* ServiceErrorGenerator.kt:174 */
|
393 629 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_with_content_encoding::PutWithContentEncodingError, R>>
|
394 630 | for Error
|
395 631 | where
|
396 632 | R: Send + Sync + std::fmt::Debug + 'static,
|
397 633 | {
|
634 + | /* ServiceErrorGenerator.kt:179 */
|
398 635 | fn from(
|
399 636 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_with_content_encoding::PutWithContentEncodingError, R>,
|
400 637 | ) -> Self {
|
638 + | /* ServiceErrorGenerator.kt:184 */
|
401 639 | match err {
|
640 + | /* ServiceErrorGenerator.kt:185 */
|
402 641 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
642 + | /* ServiceErrorGenerator.kt:186 */
|
403 643 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
404 644 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
405 645 | source: err.into(),
|
406 646 | }),
|
647 + | /* ServiceErrorGenerator.kt:184 */
|
407 648 | }
|
649 + | /* ServiceErrorGenerator.kt:179 */
|
408 650 | }
|
651 + | /* ServiceErrorGenerator.kt:174 */
|
409 652 | }
|
653 + | /* ServiceErrorGenerator.kt:202 */
|
410 654 | impl From<crate::operation::put_with_content_encoding::PutWithContentEncodingError> for Error {
|
655 + | /* ServiceErrorGenerator.kt:203 */
|
411 656 | fn from(err: crate::operation::put_with_content_encoding::PutWithContentEncodingError) -> Self {
|
657 + | /* ServiceErrorGenerator.kt:204 */
|
412 658 | match err {
|
659 + | /* ServiceErrorGenerator.kt:212 */
|
413 660 | crate::operation::put_with_content_encoding::PutWithContentEncodingError::Unhandled(inner) => Error::Unhandled(inner),
|
661 + | /* ServiceErrorGenerator.kt:204 */
|
414 662 | }
|
663 + | /* ServiceErrorGenerator.kt:203 */
|
415 664 | }
|
665 + | /* ServiceErrorGenerator.kt:202 */
|
416 666 | }
|
667 + | /* ServiceErrorGenerator.kt:174 */
|
417 668 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::simple_scalar_properties::SimpleScalarPropertiesError, R>> for Error
|
418 669 | where
|
419 670 | R: Send + Sync + std::fmt::Debug + 'static,
|
420 671 | {
|
672 + | /* ServiceErrorGenerator.kt:179 */
|
421 673 | fn from(
|
422 674 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::simple_scalar_properties::SimpleScalarPropertiesError, R>,
|
423 675 | ) -> Self {
|
676 + | /* ServiceErrorGenerator.kt:184 */
|
424 677 | match err {
|
678 + | /* ServiceErrorGenerator.kt:185 */
|
425 679 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
680 + | /* ServiceErrorGenerator.kt:186 */
|
426 681 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
427 682 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
428 683 | source: err.into(),
|
429 684 | }),
|
685 + | /* ServiceErrorGenerator.kt:184 */
|
430 686 | }
|
687 + | /* ServiceErrorGenerator.kt:179 */
|
431 688 | }
|
689 + | /* ServiceErrorGenerator.kt:174 */
|
432 690 | }
|
691 + | /* ServiceErrorGenerator.kt:202 */
|
433 692 | impl From<crate::operation::simple_scalar_properties::SimpleScalarPropertiesError> for Error {
|
693 + | /* ServiceErrorGenerator.kt:203 */
|
434 694 | fn from(err: crate::operation::simple_scalar_properties::SimpleScalarPropertiesError) -> Self {
|
695 + | /* ServiceErrorGenerator.kt:204 */
|
435 696 | match err {
|
697 + | /* ServiceErrorGenerator.kt:212 */
|
436 698 | crate::operation::simple_scalar_properties::SimpleScalarPropertiesError::Unhandled(inner) => Error::Unhandled(inner),
|
699 + | /* ServiceErrorGenerator.kt:204 */
|
437 700 | }
|
701 + | /* ServiceErrorGenerator.kt:203 */
|
438 702 | }
|
703 + | /* ServiceErrorGenerator.kt:202 */
|
439 704 | }
|
705 + | /* ServiceErrorGenerator.kt:174 */
|
440 706 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::sparse_nulls_operation::SparseNullsOperationError, R>> for Error
|
441 707 | where
|
442 708 | R: Send + Sync + std::fmt::Debug + 'static,
|
443 709 | {
|
710 + | /* ServiceErrorGenerator.kt:179 */
|
444 711 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::sparse_nulls_operation::SparseNullsOperationError, R>) -> Self {
|
712 + | /* ServiceErrorGenerator.kt:184 */
|
445 713 | match err {
|
714 + | /* ServiceErrorGenerator.kt:185 */
|
446 715 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
716 + | /* ServiceErrorGenerator.kt:186 */
|
447 717 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
448 718 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
449 719 | source: err.into(),
|
450 720 | }),
|
721 + | /* ServiceErrorGenerator.kt:184 */
|
451 722 | }
|
723 + | /* ServiceErrorGenerator.kt:179 */
|
452 724 | }
|
725 + | /* ServiceErrorGenerator.kt:174 */
|
453 726 | }
|
727 + | /* ServiceErrorGenerator.kt:202 */
|
454 728 | impl From<crate::operation::sparse_nulls_operation::SparseNullsOperationError> for Error {
|
729 + | /* ServiceErrorGenerator.kt:203 */
|
455 730 | fn from(err: crate::operation::sparse_nulls_operation::SparseNullsOperationError) -> Self {
|
731 + | /* ServiceErrorGenerator.kt:204 */
|
456 732 | match err {
|
733 + | /* ServiceErrorGenerator.kt:212 */
|
457 734 | crate::operation::sparse_nulls_operation::SparseNullsOperationError::Unhandled(inner) => Error::Unhandled(inner),
|
735 + | /* ServiceErrorGenerator.kt:204 */
|
458 736 | }
|
737 + | /* ServiceErrorGenerator.kt:203 */
|
459 738 | }
|
739 + | /* ServiceErrorGenerator.kt:202 */
|
460 740 | }
|
741 + | /* ServiceErrorGenerator.kt:115 */
|
461 742 | impl ::std::error::Error for Error {
|
743 + | /* ServiceErrorGenerator.kt:116 */
|
462 744 | fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
|
745 + | /* ServiceErrorGenerator.kt:117 */
|
463 746 | match self {
|
464 - | Error::ComplexError(inner) => inner.source(),
|
465 - | Error::ErrorWithMembers(inner) => inner.source(),
|
466 - | Error::ErrorWithoutMembers(inner) => inner.source(),
|
467 - | Error::FooError(inner) => inner.source(),
|
468 - | Error::InvalidGreeting(inner) => inner.source(),
|
469 - | Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
|
747 + | /* ServiceErrorGenerator.kt:119 */ Error::ComplexError(inner) => inner.source(),
|
748 + | /* ServiceErrorGenerator.kt:119 */ Error::ErrorWithMembers(inner) => inner.source(),
|
749 + | /* ServiceErrorGenerator.kt:119 */ Error::ErrorWithoutMembers(inner) => inner.source(),
|
750 + | /* ServiceErrorGenerator.kt:119 */ Error::FooError(inner) => inner.source(),
|
751 + | /* ServiceErrorGenerator.kt:119 */ Error::InvalidGreeting(inner) => inner.source(),
|
752 + | /* ServiceErrorGenerator.kt:121 */
|
753 + | Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source), /* ServiceErrorGenerator.kt:117 */
|
470 754 | }
|
755 + | /* ServiceErrorGenerator.kt:116 */
|
471 756 | }
|
757 + | /* ServiceErrorGenerator.kt:115 */
|
472 758 | }
|