| 649 | private: |
| 650 | template <typename ErrorType> |
| 651 | static S3RetryStrategy::AWSErrorDetail ErrorToDetail( |
| 652 | const Aws::Client::AWSError<ErrorType>& error) { |
| 653 | S3RetryStrategy::AWSErrorDetail detail; |
| 654 | detail.error_type = static_cast<int>(error.GetErrorType()); |
| 655 | detail.message = std::string(FromAwsString(error.GetMessage())); |
| 656 | detail.exception_name = std::string(FromAwsString(error.GetExceptionName())); |
| 657 | detail.should_retry = error.ShouldRetry(); |
| 658 | return detail; |
| 659 | } |
| 660 | |
| 661 | std::shared_ptr<S3RetryStrategy> s3_retry_strategy_; |
| 662 | }; |
nothing calls this directly
no test coverage detected