boto / s3transfer

Amazon S3 Transfer Manager for Python
Apache License 2.0
215 stars 134 forks source link

Add error translation from S3ResponseError to Botocore errors #284

Closed nateprewitt closed 1 year ago

nateprewitt commented 1 year ago

This PR adds functionality to the CRT S3 Transfer Manager to handle error translation from the S3 service. This will ensure Boto3 integration retains existing error hierarchy to provide a seamless experience between the two transfer methods.

Merge of this PR is pending https://github.com/boto/botocore/pull/3073 to provide the operation_name off the CRT shape.

codecov-commenter commented 1 year ago

Codecov Report

Attention: 39 lines in your changes are missing coverage. Please review.

Comparison is base (7b13b56) 84.23% compared to head (7450ccb) 83.01%.

Files Patch % Lines
s3transfer/crt.py 0.00% 39 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## crt-enhancements #284 +/- ## ==================================================== - Coverage 84.23% 83.01% -1.23% ==================================================== Files 16 16 Lines 2760 2796 +36 ==================================================== - Hits 2325 2321 -4 - Misses 435 475 +40 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.