Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: third_party/gsutil/third_party/boto/boto/cloudsearch2/exceptions.py

Issue 1377933002: [catapult] - Copy Telemetry's gsutilz over to third_party. (Closed) Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: Rename to gsutil. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/gsutil/third_party/boto/boto/cloudsearch2/exceptions.py
diff --git a/third_party/gsutil/third_party/boto/boto/cloudsearch2/exceptions.py b/third_party/gsutil/third_party/boto/boto/cloudsearch2/exceptions.py
new file mode 100644
index 0000000000000000000000000000000000000000..c11411396343f06810b7f95ea365d336cf51ae9d
--- /dev/null
+++ b/third_party/gsutil/third_party/boto/boto/cloudsearch2/exceptions.py
@@ -0,0 +1,46 @@
+"""
+Exceptions that are specific to the cloudsearch2 module.
+"""
+from boto.exception import BotoServerError
+
+
+class InvalidTypeException(BotoServerError):
+ """
+ Raised when an invalid record type is passed to CloudSearch.
+ """
+ pass
+
+
+class LimitExceededException(BotoServerError):
+ """
+ Raised when a limit has been exceeded.
+ """
+ pass
+
+
+class InternalException(BotoServerError):
+ """
+ A generic server-side error.
+ """
+ pass
+
+
+class DisabledOperationException(BotoServerError):
+ """
+ Raised when an operation has been disabled.
+ """
+ pass
+
+
+class ResourceNotFoundException(BotoServerError):
+ """
+ Raised when a requested resource does not exist.
+ """
+ pass
+
+
+class BaseException(BotoServerError):
+ """
+ A generic server-side error.
+ """
+ pass

Powered by Google App Engine
This is Rietveld 408576698