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

Function IsAlreadyExists

cpp/src/arrow/filesystem/s3_internal.h:104–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104inline bool IsAlreadyExists(const Aws::Client::AWSError<Aws::S3::S3Errors>& error) {
105 const auto error_type = error.GetErrorType();
106 return (error_type == Aws::S3::S3Errors::BUCKET_ALREADY_EXISTS ||
107 error_type == Aws::S3::S3Errors::BUCKET_ALREADY_OWNED_BY_YOU);
108}
109
110inline std::string S3ErrorToString(Aws::S3::S3Errors error_type) {
111 switch (error_type) {

Callers 1

CreateBucketMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected