MCPcopy Create free account
hub / github.com/apache/arrow / ErrorToDetail

Method ErrorToDetail

cpp/src/arrow/filesystem/s3fs.cc:591–599  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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};

Callers

nothing calls this directly

Calls 2

FromAwsStringFunction · 0.85
ShouldRetryMethod · 0.45

Tested by

no test coverage detected