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

Function IsNotFound

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

Source from the content-addressed store, hash-verified

96}
97
98inline bool IsNotFound(const Aws::Client::AWSError<Aws::S3::S3Errors>& error) {
99 const auto error_type = error.GetErrorType();
100 return (error_type == Aws::S3::S3Errors::NO_SUCH_BUCKET ||
101 error_type == Aws::S3::S3Errors::RESOURCE_NOT_FOUND);
102}
103
104inline bool IsAlreadyExists(const Aws::Client::AWSError<Aws::S3::S3Errors>& error) {
105 const auto error_type = error.GetErrorType();

Callers 9

InitMethod · 0.85
BucketExistsMethod · 0.85
CreateBucketMethod · 0.85
IsEmptyDirectoryMethod · 0.85
IsNonEmptyDirectoryMethod · 0.85
RunMethod · 0.85
EnsureIsDirAsyncMethod · 0.85
GetFileInfoMethod · 0.85
DeleteFileMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected