367 367 | ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self)
|
368 368 | }
|
369 369 | fn retryable_error_kind(&self) -> ::std::option::Option<::aws_smithy_types::retry::ErrorKind> {
|
370 370 | ::std::option::Option::None
|
371 371 | }
|
372 372 | }
|
373 373 | impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for CapturePokemonError {
|
374 374 | fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
|
375 375 | match self {
|
376 376 | Self::UnsupportedRegionError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
377 377 | Self::ThrottlingError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
378 378 | Self::ValidationError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
379 379 | Self::MasterBallUnsuccessful(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
380 380 | Self::InvalidPokeballError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
381 381 | Self::Unhandled(_inner) => &_inner.meta,
|
382 382 | }
|
383 383 | }
|
384 384 | }
|
385 385 | impl ::aws_smithy_runtime_api::client::result::CreateUnhandledError for CapturePokemonError {
|
386 386 | fn create_unhandled_error(
|
387 387 | source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
|
388 388 | meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
|
389 389 | ) -> Self {
|
390 390 | Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
391 391 | source,
|
392 392 | meta: meta.unwrap_or_default(),
|
393 393 | })
|
394 394 | }
|
395 395 | }
|
396 396 |
|
397 - | pub use crate::operation::capture_pokemon::_capture_pokemon_output::CapturePokemonOutput;
|
398 - |
|
399 397 | pub use crate::operation::capture_pokemon::_capture_pokemon_input::CapturePokemonInput;
|
400 398 |
|
399 + | pub use crate::operation::capture_pokemon::_capture_pokemon_output::CapturePokemonOutput;
|
400 + |
|
401 401 | mod _capture_pokemon_input;
|
402 402 |
|
403 403 | mod _capture_pokemon_output;
|
404 404 |
|
405 405 | /// Builders
|
406 406 | pub mod builders;
|