MCPcopy Create free account
hub / github.com/apache/cloudberry / S3QueryAbort

Class S3QueryAbort

gpcontrib/gpcloud/include/s3exception.h:108–124  ·  view source on GitHub ↗

User presses Ctrl + C or the transaction is aborted.

Source from the content-addressed store, hash-verified

106
107// User presses Ctrl + C or the transaction is aborted.
108class S3QueryAbort : public S3Exception {
109 public:
110 S3QueryAbort() : message("Query is aborted") {
111 }
112 S3QueryAbort(const string& msg) : message(msg) {
113 }
114 virtual ~S3QueryAbort() {
115 }
116 virtual string getMessage() {
117 return message;
118 }
119
120 virtual string getType() {
121 return "S3QueryAbort";
122 }
123 string message;
124};
125
126// AWS S3 responds errors
127// AccessDenied, NoSuchBucket or other kinds of InvalidRequest

Callers 2

TEST_FFunction · 0.85
DownloadThreadFuncFunction · 0.85

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.68