Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overhaul errors in rust-runtime crates #1926

Closed
82 tasks done
jdisanti opened this issue Oct 31, 2022 · 1 comment
Closed
82 tasks done

Overhaul errors in rust-runtime crates #1926

jdisanti opened this issue Oct 31, 2022 · 1 comment
Assignees

Comments

@jdisanti
Copy link
Collaborator

jdisanti commented Oct 31, 2022

  • Add DisplayErrorContext to all tracing error logs
  • Hide error source type in Unhandled variant in code generated errors
  • Remove Clone from ProfileParseError and any others that have it
  • Errors in rust-runtime
    • aws-smithy-async
      • crate::future::TimedOutError
    • aws-smithy-checksums
      • crate::body::Error
    • aws-smithy-client
      • crate::hyper_ext::HttpTimeoutError
      • crate::timeout::RequestTimeoutError
    • aws-smithy-eventstream
      • crate::error::Error
    • aws-smithy-http
      • crate::byte_stream::Error
      • crate::endpoint::Error
      • crate::endpoint::InvalidEndpoint
      • crate::header::ParseError
      • crate::operation::BuildError
      • crate::operation::SerializationError
      • crate::result::ConnectorError
      • crate::result::SdkError
      • crate::event_stream::receiver::Error
      • crate::event_stream::sender::MessageStreamError
    • aws-smithy-json
      • crate::escape::EscapeError
      • crate::deserialize::Error
    • aws-smithy-types
      • crate::base64::DecodeError
      • crate::error::Error
      • crate::TryFromNumberError
      • crate::primitive::PrimitiveParseError
      • crate::retry::RetryModeParseErr
      • crate::retry::RetryConfigErr
      • crate::timeout::error::ConfigError
      • crate::date_time::format::DateTimeParseError
      • crate::date_time::format::DateTimeFormatError
      • crate::date_time::ConversionError
    • aws-smithy-types-convert
      • crate::date_time::Error
    • aws-smithy-xml
      • crate::decode::XmlError
      • crate::encode::Error
    • inlineable
      • crate::endpoint_lib::InvalidArn
  • Errors in aws-runtime
    • aws-types
      • crate::app_name::InvalidAppName
      • crate::credentials::CredentialsError
    • aws-endpoint
      • crate::AwsEndpointStageError
    • aws-http
      • crate::auth::CredentialsStageError
      • crate::content_encoding::AwsChunkedBodyError
      • crate::retry::UnmodeledError
      • crate::user_agent::InvalidMetadataVAlue
      • crate::user_agent::UserAgentStageError
    • aws-sigv4
      • crate::date_time::ParseError
      • crate::BuildError
    • aws-sig-auth
      • crate::middleware::SigningStageError
    • aws-inlineable
      • crate::http_body_checksum::Error
      • crate::presigning::Error
    • aws-config
      • crate::ecs::EcsConfigurationErr
      • crate::ecs::InvalidFullUriError
      • crate::json_credentials::InvalidJsonCredentials
      • crate::retry::RetryConfigError
      • crate::sso::LoadTokenError
      • crate::imds::InnerImdsError
      • crate::imds::InvalidEndpointMode
      • crate::imds::BuildError
      • crate::imds::TokenError
      • crate::profile::parser::ProfileParseError
      • crate::imds::ImdsError
  • Stop using Box<dyn Error> as the top level error in aws-sigv4
  • Examine making SdkError easier to use
  • Re-export DisplayErrorContext in generated crates and reference from Unhandled doc comment
  • Update RFC changes checklist and status
  • Write upgrade guide
@jdisanti
Copy link
Collaborator Author

Examples fixed: awsdocs/aws-doc-sdk-examples#3967

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant