1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 + | /* CodegenDelegator.kt:255 */
|
2 3 | pub use crate::types::error::_resource_not_found_exception::ResourceNotFoundError;
|
3 4 |
|
5 + | /* CodegenDelegator.kt:255 */
|
4 6 | pub use crate::types::error::_storage_access_not_authorized::StorageAccessNotAuthorized;
|
5 7 |
|
8 + | /* CodegenDelegator.kt:255 */
|
6 9 | pub use crate::types::error::_validation_exception::ValidationError;
|
7 10 |
|
11 + | /* CodegenDelegator.kt:255 */
|
8 12 | pub use crate::types::error::_unsupported_region_error::UnsupportedRegionError;
|
9 13 |
|
14 + | /* CodegenDelegator.kt:255 */
|
10 15 | pub use crate::types::error::_throttling_error::ThrottlingError;
|
11 16 |
|
17 + | /* CodegenDelegator.kt:255 */
|
12 18 | pub use crate::types::error::_invalid_pokeball_error::InvalidPokeballError;
|
13 19 |
|
20 + | /* CodegenDelegator.kt:255 */
|
14 21 | pub use crate::types::error::_master_ball_unsuccessful::MasterBallUnsuccessful;
|
15 22 |
|
23 + | /* OperationErrorGenerator.kt:79 */
|
16 24 | /// Error type for the `CapturePokemonEventsError` operation.
|
25 + | /* RustType.kt:516 */
|
17 26 | #[non_exhaustive]
|
27 + | /* RustType.kt:516 */
|
18 28 | #[derive(::std::fmt::Debug)]
|
19 - | pub enum CapturePokemonEventsError {
|
29 + | pub /* OperationErrorGenerator.kt:81 */ enum CapturePokemonEventsError {
|
30 + | /* OperationErrorGenerator.kt:83 */
|
20 31 | #[allow(missing_docs)] // documentation missing in model
|
32 + | /* OperationErrorGenerator.kt:86 */
|
21 33 | InvalidPokeballError(crate::types::error::InvalidPokeballError),
|
34 + | /* OperationErrorGenerator.kt:83 */
|
22 35 | #[allow(missing_docs)] // documentation missing in model
|
36 + | /* OperationErrorGenerator.kt:86 */
|
23 37 | ThrottlingError(crate::types::error::ThrottlingError),
|
38 + | /* OperationErrorGenerator.kt:88 */
|
24 39 | /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
|
25 40 | #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
|
26 41 | variable wildcard pattern and check `.code()`:
|
27 42 | \
|
28 43 | `err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
|
29 44 | \
|
30 45 | See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-CapturePokemonEventsError) for what information is available for the error.")]
|
31 46 | Unhandled(crate::error::sealed_unhandled::Unhandled),
|
47 + | /* OperationErrorGenerator.kt:81 */
|
32 48 | }
|
49 + | /* OperationErrorGenerator.kt:218 */
|
33 50 | impl CapturePokemonEventsError {
|
51 + | /* OperationErrorGenerator.kt:219 */
|
34 52 | /// Creates the `CapturePokemonEventsError::Unhandled` variant from any error type.
|
35 53 | pub fn unhandled(
|
36 54 | err: impl ::std::convert::Into<::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>>,
|
37 55 | ) -> Self {
|
38 56 | Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
39 57 | source: err.into(),
|
40 58 | meta: ::std::default::Default::default(),
|
41 59 | })
|
42 60 | }
|
43 61 |
|
44 62 | /// Creates the `CapturePokemonEventsError::Unhandled` variant from an [`ErrorMetadata`](::aws_smithy_types::error::ErrorMetadata).
|
45 63 | pub fn generic(err: ::aws_smithy_types::error::ErrorMetadata) -> Self {
|
46 64 | Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
47 65 | source: err.clone().into(),
|
48 66 | meta: err,
|
49 67 | })
|
50 68 | }
|
51 - | ///
|
69 + | /// /* OperationErrorGenerator.kt:236 */
|
52 70 | /// Returns error metadata, which includes the error code, message,
|
53 71 | /// request ID, and potentially additional information.
|
54 72 | ///
|
73 + | /* OperationErrorGenerator.kt:242 */
|
55 74 | pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
|
75 + | /* OperationErrorGenerator.kt:243 */
|
56 76 | match self {
|
77 + | /* OperationErrorGenerator.kt:246 */
|
57 78 | Self::InvalidPokeballError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
|
58 - | Self::ThrottlingError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
|
59 - | Self::Unhandled(e) => &e.meta,
|
79 + | /* OperationErrorGenerator.kt:246 */ Self::ThrottlingError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
|
80 + | /* OperationErrorGenerator.kt:251 */ Self::Unhandled(e) => &e.meta,
|
81 + | /* OperationErrorGenerator.kt:243 */
|
60 82 | }
|
83 + | /* OperationErrorGenerator.kt:242 */
|
61 84 | }
|
85 + | /* OperationErrorGenerator.kt:257 */
|
62 86 | /// Returns `true` if the error kind is `CapturePokemonEventsError::InvalidPokeballError`.
|
87 + | /* OperationErrorGenerator.kt:258 */
|
63 88 | pub fn is_invalid_pokeball_error(&self) -> bool {
|
89 + | /* OperationErrorGenerator.kt:259 */
|
64 90 | matches!(self, Self::InvalidPokeballError(_))
|
91 + | /* OperationErrorGenerator.kt:258 */
|
65 92 | }
|
93 + | /* OperationErrorGenerator.kt:257 */
|
66 94 | /// Returns `true` if the error kind is `CapturePokemonEventsError::ThrottlingError`.
|
95 + | /* OperationErrorGenerator.kt:258 */
|
67 96 | pub fn is_throttling_error(&self) -> bool {
|
97 + | /* OperationErrorGenerator.kt:259 */
|
68 98 | matches!(self, Self::ThrottlingError(_))
|
99 + | /* OperationErrorGenerator.kt:258 */
|
69 100 | }
|
101 + | /* OperationErrorGenerator.kt:218 */
|
70 102 | }
|
103 + | /* OperationErrorGenerator.kt:269 */
|
71 104 | impl ::std::error::Error for CapturePokemonEventsError {
|
105 + | /* OperationErrorGenerator.kt:270 */
|
72 106 | fn source(&self) -> ::std::option::Option<&(dyn ::std::error::Error + 'static)> {
|
107 + | /* OperationErrorGenerator.kt:318 */
|
73 108 | match self {
|
74 - | Self::InvalidPokeballError(_inner) => ::std::option::Option::Some(_inner),
|
75 - | Self::ThrottlingError(_inner) => ::std::option::Option::Some(_inner),
|
76 - | Self::Unhandled(_inner) => ::std::option::Option::Some(&*_inner.source),
|
109 + | /* OperationErrorGenerator.kt:321 */
|
110 + | Self::InvalidPokeballError(_inner) =>
|
111 + | /* OperationErrorGenerator.kt:283 */
|
112 + | {
|
113 + | ::std::option::Option::Some(_inner)
|
114 + | }
|
115 + | ,
|
116 + | /* OperationErrorGenerator.kt:321 */
|
117 + | Self::ThrottlingError(_inner) =>
|
118 + | /* OperationErrorGenerator.kt:283 */
|
119 + | {
|
120 + | ::std::option::Option::Some(_inner)
|
121 + | }
|
122 + | ,
|
123 + | /* OperationErrorGenerator.kt:326 */
|
124 + | Self::Unhandled(_inner) => {
|
125 + | /* OperationErrorGenerator.kt:279 */
|
126 + | ::std::option::Option::Some(&*_inner.source)
|
127 + | /* OperationErrorGenerator.kt:326 */
|
128 + | } /* OperationErrorGenerator.kt:318 */
|
77 129 | }
|
130 + | /* OperationErrorGenerator.kt:270 */
|
78 131 | }
|
132 + | /* OperationErrorGenerator.kt:269 */
|
79 133 | }
|
134 + | /* OperationErrorGenerator.kt:133 */
|
80 135 | impl ::std::fmt::Display for CapturePokemonEventsError {
|
136 + | /* OperationErrorGenerator.kt:134 */
|
81 137 | fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
|
138 + | /* OperationErrorGenerator.kt:318 */
|
82 139 | match self {
|
83 - | Self::InvalidPokeballError(_inner) => _inner.fmt(f),
|
84 - | Self::ThrottlingError(_inner) => _inner.fmt(f),
|
140 + | /* OperationErrorGenerator.kt:321 */
|
141 + | Self::InvalidPokeballError(_inner) =>
|
142 + | /* OperationErrorGenerator.kt:151 */
|
143 + | {
|
144 + | _inner.fmt(f)
|
145 + | }
|
146 + | ,
|
147 + | /* OperationErrorGenerator.kt:321 */
|
148 + | Self::ThrottlingError(_inner) =>
|
149 + | /* OperationErrorGenerator.kt:151 */
|
150 + | {
|
151 + | _inner.fmt(f)
|
152 + | }
|
153 + | ,
|
154 + | /* OperationErrorGenerator.kt:326 */
|
85 155 | Self::Unhandled(_inner) => {
|
156 + | /* OperationErrorGenerator.kt:139 */
|
86 157 | if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
|
87 158 | write!(f, "unhandled error ({code})")
|
88 159 | } else {
|
89 160 | f.write_str("unhandled error")
|
90 161 | }
|
91 - | }
|
162 + | /* OperationErrorGenerator.kt:326 */
|
163 + | } /* OperationErrorGenerator.kt:318 */
|
92 164 | }
|
165 + | /* OperationErrorGenerator.kt:134 */
|
93 166 | }
|
167 + | /* OperationErrorGenerator.kt:133 */
|
94 168 | }
|
169 + | /* OperationErrorGenerator.kt:182 */
|
95 170 | impl ::aws_smithy_types::retry::ProvideErrorKind for CapturePokemonEventsError {
|
171 + | /* OperationErrorGenerator.kt:186 */
|
96 172 | fn code(&self) -> ::std::option::Option<&str> {
|
173 + | /* OperationErrorGenerator.kt:187 */
|
97 174 | ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self)
|
175 + | /* OperationErrorGenerator.kt:186 */
|
98 176 | }
|
177 + | /* OperationErrorGenerator.kt:190 */
|
99 178 | fn retryable_error_kind(&self) -> ::std::option::Option<::aws_smithy_types::retry::ErrorKind> {
|
179 + | /* OperationErrorGenerator.kt:197 */
|
100 180 | ::std::option::Option::None
|
181 + | /* OperationErrorGenerator.kt:190 */
|
101 182 | }
|
183 + | /* OperationErrorGenerator.kt:182 */
|
102 184 | }
|
185 + | /* OperationErrorGenerator.kt:163 */
|
103 186 | impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for CapturePokemonEventsError {
|
187 + | /* OperationErrorGenerator.kt:164 */
|
104 188 | fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
|
189 + | /* OperationErrorGenerator.kt:318 */
|
105 190 | match self {
|
106 - | Self::InvalidPokeballError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
107 - | Self::ThrottlingError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
108 - | Self::Unhandled(_inner) => &_inner.meta,
|
191 + | /* OperationErrorGenerator.kt:321 */
|
192 + | Self::InvalidPokeballError(_inner) =>
|
193 + | /* OperationErrorGenerator.kt:169 */
|
194 + | {
|
195 + | ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
|
196 + | }
|
197 + | ,
|
198 + | /* OperationErrorGenerator.kt:321 */
|
199 + | Self::ThrottlingError(_inner) =>
|
200 + | /* OperationErrorGenerator.kt:169 */
|
201 + | {
|
202 + | ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
|
203 + | }
|
204 + | ,
|
205 + | /* OperationErrorGenerator.kt:326 */
|
206 + | Self::Unhandled(_inner) => {
|
207 + | /* OperationErrorGenerator.kt:168 */
|
208 + | &_inner.meta
|
209 + | /* OperationErrorGenerator.kt:326 */
|
210 + | } /* OperationErrorGenerator.kt:318 */
|
109 211 | }
|
212 + | /* OperationErrorGenerator.kt:164 */
|
110 213 | }
|
214 + | /* OperationErrorGenerator.kt:163 */
|
111 215 | }
|
216 + | /* OperationErrorGenerator.kt:109 */
|
112 217 | impl ::aws_smithy_runtime_api::client::result::CreateUnhandledError for CapturePokemonEventsError {
|
218 + | /* OperationErrorGenerator.kt:110 */
|
113 219 | fn create_unhandled_error(
|
114 220 | source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
|
115 221 | meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
|
116 222 | ) -> Self {
|
223 + | /* OperationErrorGenerator.kt:121 */
|
117 224 | Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
118 225 | source,
|
119 226 | meta: meta.unwrap_or_default(),
|
120 227 | })
|
228 + | /* OperationErrorGenerator.kt:110 */
|
121 229 | }
|
230 + | /* OperationErrorGenerator.kt:109 */
|
122 231 | }
|
123 232 |
|
233 + | /* OperationErrorGenerator.kt:79 */
|
124 234 | /// Error type for the `AttemptCapturingPokemonEventError` operation.
|
235 + | /* RustType.kt:516 */
|
125 236 | #[non_exhaustive]
|
237 + | /* RustType.kt:516 */
|
126 238 | #[derive(::std::fmt::Debug)]
|
127 - | pub enum AttemptCapturingPokemonEventError {
|
239 + | pub /* OperationErrorGenerator.kt:81 */ enum AttemptCapturingPokemonEventError {
|
240 + | /* OperationErrorGenerator.kt:83 */
|
128 241 | #[allow(missing_docs)] // documentation missing in model
|
242 + | /* OperationErrorGenerator.kt:86 */
|
129 243 | MasterBallUnsuccessful(crate::types::error::MasterBallUnsuccessful),
|
244 + | /* OperationErrorGenerator.kt:88 */
|
130 245 | /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
|
131 246 | #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
|
132 247 | variable wildcard pattern and check `.code()`:
|
133 248 | \
|
134 249 | `err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
|
135 250 | \
|
136 251 | See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-AttemptCapturingPokemonEventError) for what information is available for the error.")]
|
137 252 | Unhandled(crate::error::sealed_unhandled::Unhandled),
|
253 + | /* OperationErrorGenerator.kt:81 */
|
138 254 | }
|
255 + | /* OperationErrorGenerator.kt:218 */
|
139 256 | impl AttemptCapturingPokemonEventError {
|
257 + | /* OperationErrorGenerator.kt:219 */
|
140 258 | /// Creates the `AttemptCapturingPokemonEventError::Unhandled` variant from any error type.
|
141 259 | pub fn unhandled(
|
142 260 | err: impl ::std::convert::Into<::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>>,
|
143 261 | ) -> Self {
|
144 262 | Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
145 263 | source: err.into(),
|
146 264 | meta: ::std::default::Default::default(),
|
147 265 | })
|
148 266 | }
|
149 267 |
|
150 268 | /// Creates the `AttemptCapturingPokemonEventError::Unhandled` variant from an [`ErrorMetadata`](::aws_smithy_types::error::ErrorMetadata).
|
151 269 | pub fn generic(err: ::aws_smithy_types::error::ErrorMetadata) -> Self {
|
152 270 | Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
153 271 | source: err.clone().into(),
|
154 272 | meta: err,
|
155 273 | })
|
156 274 | }
|
157 - | ///
|
275 + | /// /* OperationErrorGenerator.kt:236 */
|
158 276 | /// Returns error metadata, which includes the error code, message,
|
159 277 | /// request ID, and potentially additional information.
|
160 278 | ///
|
279 + | /* OperationErrorGenerator.kt:242 */
|
161 280 | pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
|
281 + | /* OperationErrorGenerator.kt:243 */
|
162 282 | match self {
|
283 + | /* OperationErrorGenerator.kt:246 */
|
163 284 | Self::MasterBallUnsuccessful(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
|
164 - | Self::Unhandled(e) => &e.meta,
|
285 + | /* OperationErrorGenerator.kt:251 */ Self::Unhandled(e) => &e.meta,
|
286 + | /* OperationErrorGenerator.kt:243 */
|
165 287 | }
|
288 + | /* OperationErrorGenerator.kt:242 */
|
166 289 | }
|
290 + | /* OperationErrorGenerator.kt:257 */
|
167 291 | /// Returns `true` if the error kind is `AttemptCapturingPokemonEventError::MasterBallUnsuccessful`.
|
292 + | /* OperationErrorGenerator.kt:258 */
|
168 293 | pub fn is_master_ball_unsuccessful(&self) -> bool {
|
294 + | /* OperationErrorGenerator.kt:259 */
|
169 295 | matches!(self, Self::MasterBallUnsuccessful(_))
|
296 + | /* OperationErrorGenerator.kt:258 */
|
170 297 | }
|
298 + | /* OperationErrorGenerator.kt:218 */
|
171 299 | }
|
300 + | /* OperationErrorGenerator.kt:269 */
|
172 301 | impl ::std::error::Error for AttemptCapturingPokemonEventError {
|
302 + | /* OperationErrorGenerator.kt:270 */
|
173 303 | fn source(&self) -> ::std::option::Option<&(dyn ::std::error::Error + 'static)> {
|
304 + | /* OperationErrorGenerator.kt:318 */
|
174 305 | match self {
|
175 - | Self::MasterBallUnsuccessful(_inner) => ::std::option::Option::Some(_inner),
|
176 - | Self::Unhandled(_inner) => ::std::option::Option::Some(&*_inner.source),
|
306 + | /* OperationErrorGenerator.kt:321 */
|
307 + | Self::MasterBallUnsuccessful(_inner) =>
|
308 + | /* OperationErrorGenerator.kt:283 */
|
309 + | {
|
310 + | ::std::option::Option::Some(_inner)
|
311 + | }
|
312 + | ,
|
313 + | /* OperationErrorGenerator.kt:326 */
|
314 + | Self::Unhandled(_inner) => {
|
315 + | /* OperationErrorGenerator.kt:279 */
|
316 + | ::std::option::Option::Some(&*_inner.source)
|
317 + | /* OperationErrorGenerator.kt:326 */
|
318 + | } /* OperationErrorGenerator.kt:318 */
|
177 319 | }
|
320 + | /* OperationErrorGenerator.kt:270 */
|
178 321 | }
|
322 + | /* OperationErrorGenerator.kt:269 */
|
179 323 | }
|
324 + | /* OperationErrorGenerator.kt:133 */
|
180 325 | impl ::std::fmt::Display for AttemptCapturingPokemonEventError {
|
326 + | /* OperationErrorGenerator.kt:134 */
|
181 327 | fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
|
328 + | /* OperationErrorGenerator.kt:318 */
|
182 329 | match self {
|
183 - | Self::MasterBallUnsuccessful(_inner) => _inner.fmt(f),
|
330 + | /* OperationErrorGenerator.kt:321 */
|
331 + | Self::MasterBallUnsuccessful(_inner) =>
|
332 + | /* OperationErrorGenerator.kt:151 */
|
333 + | {
|
334 + | _inner.fmt(f)
|
335 + | }
|
336 + | ,
|
337 + | /* OperationErrorGenerator.kt:326 */
|
184 338 | Self::Unhandled(_inner) => {
|
339 + | /* OperationErrorGenerator.kt:139 */
|
185 340 | if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
|
186 341 | write!(f, "unhandled error ({code})")
|
187 342 | } else {
|
188 343 | f.write_str("unhandled error")
|
189 344 | }
|
190 - | }
|
345 + | /* OperationErrorGenerator.kt:326 */
|
346 + | } /* OperationErrorGenerator.kt:318 */
|
191 347 | }
|
348 + | /* OperationErrorGenerator.kt:134 */
|
192 349 | }
|
350 + | /* OperationErrorGenerator.kt:133 */
|
193 351 | }
|
352 + | /* OperationErrorGenerator.kt:182 */
|
194 353 | impl ::aws_smithy_types::retry::ProvideErrorKind for AttemptCapturingPokemonEventError {
|
354 + | /* OperationErrorGenerator.kt:186 */
|
195 355 | fn code(&self) -> ::std::option::Option<&str> {
|
356 + | /* OperationErrorGenerator.kt:187 */
|
196 357 | ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self)
|
358 + | /* OperationErrorGenerator.kt:186 */
|
197 359 | }
|
360 + | /* OperationErrorGenerator.kt:190 */
|
198 361 | fn retryable_error_kind(&self) -> ::std::option::Option<::aws_smithy_types::retry::ErrorKind> {
|
362 + | /* OperationErrorGenerator.kt:197 */
|
199 363 | ::std::option::Option::None
|
364 + | /* OperationErrorGenerator.kt:190 */
|
200 365 | }
|
366 + | /* OperationErrorGenerator.kt:182 */
|
201 367 | }
|
368 + | /* OperationErrorGenerator.kt:163 */
|
202 369 | impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for AttemptCapturingPokemonEventError {
|
370 + | /* OperationErrorGenerator.kt:164 */
|
203 371 | fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
|
372 + | /* OperationErrorGenerator.kt:318 */
|
204 373 | match self {
|
205 - | Self::MasterBallUnsuccessful(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
206 - | Self::Unhandled(_inner) => &_inner.meta,
|
374 + | /* OperationErrorGenerator.kt:321 */
|
375 + | Self::MasterBallUnsuccessful(_inner) =>
|
376 + | /* OperationErrorGenerator.kt:169 */
|
377 + | {
|
378 + | ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
|
379 + | }
|
380 + | ,
|
381 + | /* OperationErrorGenerator.kt:326 */
|
382 + | Self::Unhandled(_inner) => {
|
383 + | /* OperationErrorGenerator.kt:168 */
|
384 + | &_inner.meta
|
385 + | /* OperationErrorGenerator.kt:326 */
|
386 + | } /* OperationErrorGenerator.kt:318 */
|
207 387 | }
|
388 + | /* OperationErrorGenerator.kt:164 */
|
208 389 | }
|
390 + | /* OperationErrorGenerator.kt:163 */
|
209 391 | }
|
392 + | /* OperationErrorGenerator.kt:109 */
|
210 393 | impl ::aws_smithy_runtime_api::client::result::CreateUnhandledError for AttemptCapturingPokemonEventError {
|
394 + | /* OperationErrorGenerator.kt:110 */
|
211 395 | fn create_unhandled_error(
|
212 396 | source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
|
213 397 | meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
|
214 398 | ) -> Self {
|
399 + | /* OperationErrorGenerator.kt:121 */
|
215 400 | Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
216 401 | source,
|
217 402 | meta: meta.unwrap_or_default(),
|
218 403 | })
|
404 + | /* OperationErrorGenerator.kt:110 */
|
219 405 | }
|
406 + | /* OperationErrorGenerator.kt:109 */
|
220 407 | }
|
221 408 |
|
409 + | /* RustModule.kt:172 */
|
222 410 | mod _invalid_pokeball_error;
|
223 411 |
|
412 + | /* RustModule.kt:172 */
|
224 413 | mod _master_ball_unsuccessful;
|
225 414 |
|
415 + | /* RustModule.kt:172 */
|
226 416 | mod _resource_not_found_exception;
|
227 417 |
|
418 + | /* RustModule.kt:172 */
|
228 419 | mod _storage_access_not_authorized;
|
229 420 |
|
421 + | /* RustModule.kt:172 */
|
230 422 | mod _throttling_error;
|
231 423 |
|
424 + | /* RustModule.kt:172 */
|
232 425 | mod _unsupported_region_error;
|
233 426 |
|
427 + | /* RustModule.kt:172 */
|
234 428 | mod _validation_exception;
|
235 429 |
|
236 - | /// Builders
|
430 + | /// /* CodegenDelegator.kt:51 */Builders
|
237 431 | pub mod builders;
|