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

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

Issue 10199002: Upgrade gsutil to 3.4 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed comments Created 8 years, 8 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
« no previous file with comments | « third_party/gsutil/boto/boto/dynamodb/condition.py ('k') | third_party/gsutil/boto/boto/dynamodb/item.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/gsutil/boto/boto/dynamodb/exceptions.py
diff --git a/third_party/gsutil/boto/boto/dynamodb/exceptions.py b/third_party/gsutil/boto/boto/dynamodb/exceptions.py
new file mode 100644
index 0000000000000000000000000000000000000000..4deb9652fac25a75cd254d2b6953dcca8aee71d4
--- /dev/null
+++ b/third_party/gsutil/boto/boto/dynamodb/exceptions.py
@@ -0,0 +1,28 @@
+"""
+Exceptions that are specific to the dynamodb module.
+"""
+from boto.exception import BotoServerError, BotoClientError
+
+
+class DynamoDBExpiredTokenError(BotoServerError):
+ """
+ Raised when a DynamoDB security token expires. This is generally boto's
+ (or the user's) notice to renew their DynamoDB security tokens.
+ """
+ pass
+
+
+class DynamoDBKeyNotFoundError(BotoClientError):
+ """
+ Raised when attempting to retrieve or interact with an item whose key
+ can't be found.
+ """
+ pass
+
+
+class DynamoDBItemError(BotoClientError):
+ """
+ Raised when invalid parameters are passed when creating a
+ new Item in DynamoDB.
+ """
+ pass
« no previous file with comments | « third_party/gsutil/boto/boto/dynamodb/condition.py ('k') | third_party/gsutil/boto/boto/dynamodb/item.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698