| 96 | } |
| 97 | |
| 98 | inline 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 | |
| 104 | inline bool IsAlreadyExists(const Aws::Client::AWSError<Aws::S3::S3Errors>& error) { |
| 105 | const auto error_type = error.GetErrorType(); |
no outgoing calls
no test coverage detected