| 589 | private: |
| 590 | template <typename ErrorType> |
| 591 | static S3RetryStrategy::AWSErrorDetail ErrorToDetail( |
| 592 | const Aws::Client::AWSError<ErrorType>& error) { |
| 593 | S3RetryStrategy::AWSErrorDetail detail; |
| 594 | detail.error_type = static_cast<int>(error.GetErrorType()); |
| 595 | detail.message = std::string(FromAwsString(error.GetMessage())); |
| 596 | detail.exception_name = std::string(FromAwsString(error.GetExceptionName())); |
| 597 | detail.should_retry = error.ShouldRetry(); |
| 598 | return detail; |
| 599 | } |
| 600 | |
| 601 | std::shared_ptr<S3RetryStrategy> s3_retry_strategy_; |
| 602 | }; |
nothing calls this directly
no test coverage detected