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

Unified Diff: third_party/gsutil/boto/boto/ses/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/ses/connection.py ('k') | third_party/gsutil/boto/boto/sns/__init__.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/gsutil/boto/boto/ses/exceptions.py
diff --git a/third_party/gsutil/boto/boto/ses/exceptions.py b/third_party/gsutil/boto/boto/ses/exceptions.py
new file mode 100644
index 0000000000000000000000000000000000000000..753b4eeec10cf07b6dc6cb68cd805f7afee44838
--- /dev/null
+++ b/third_party/gsutil/boto/boto/ses/exceptions.py
@@ -0,0 +1,42 @@
+"""
+Various exceptions that are specific to the SES module.
+"""
+from boto.exception import BotoServerError
+
+class SESAddressNotVerifiedError(BotoServerError):
+ """
+ Raised when a "Reply-To" address has not been validated in SES yet.
+ """
+ pass
+
+
+class SESAddressBlacklistedError(BotoServerError):
+ """
+ After you attempt to send mail to an address, and delivery repeatedly
+ fails, said address is blacklisted for at least 24 hours. The blacklisting
+ eventually expires, and you are able to attempt delivery again. If you
+ attempt to send mail to a blacklisted email, this is raised.
+ """
+ pass
+
+
+class SESDailyQuotaExceededError(BotoServerError):
+ """
+ Your account's daily (rolling 24 hour total) allotment of outbound emails
+ has been exceeded.
+ """
+ pass
+
+
+class SESMaxSendingRateExceededError(BotoServerError):
+ """
+ Your account's requests/second limit has been exceeded.
+ """
+ pass
+
+
+class SESDomainEndsWithDotError(BotoServerError):
+ """
+ Recipient's email address' domain ends with a period/dot.
+ """
+ pass
« no previous file with comments | « third_party/gsutil/boto/boto/ses/connection.py ('k') | third_party/gsutil/boto/boto/sns/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698