Issue:
If an AWS SDK is using the CRT S3 client, it was difficult to map CRT exceptions to SDK exceptions since it wasn't clear exactly which S3 HTTP request failed (A CRT S3 request might make several HTTP requests under the hood)
Description of changes:
Expose operation_name in the S3ResponseError.
Also, if user is creating a DEFAULT request (where CRT doesn't know which operation is being performed), the user can pass in the operation_name
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
This hooks up functionality from: https://github.com/awslabs/aws-c-s3/pull/377
Issue: If an AWS SDK is using the CRT S3 client, it was difficult to map CRT exceptions to SDK exceptions since it wasn't clear exactly which S3 HTTP request failed (A CRT S3 request might make several HTTP requests under the hood)
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.