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

Unified Diff: tools/telemetry/third_party/gsutil/third_party/boto/boto/ses/exceptions.py

Issue 1258583006: Add gsutil 4.13 to telemetry/third_party (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Undo all other changes so this just add gsutil to third_party Created 5 years, 5 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: tools/telemetry/third_party/gsutil/third_party/boto/boto/ses/exceptions.py
diff --git a/tools/telemetry/third_party/gsutil/third_party/boto/boto/ses/exceptions.py b/tools/telemetry/third_party/gsutil/third_party/boto/boto/ses/exceptions.py
new file mode 100644
index 0000000000000000000000000000000000000000..d5649f61a6ea2055f23c12039797f473d1bf4f9a
--- /dev/null
+++ b/tools/telemetry/third_party/gsutil/third_party/boto/boto/ses/exceptions.py
@@ -0,0 +1,80 @@
+"""
+Various exceptions that are specific to the SES module.
+"""
+from boto.exception import BotoServerError
+
+
+class SESError(BotoServerError):
+ """
+ Sub-class all SES-related errors from here. Don't raise this error
+ directly from anywhere. The only thing this gets us is the ability to
+ catch SESErrors separately from the more generic, top-level
+ BotoServerError exception.
+ """
+ pass
+
+
+class SESAddressNotVerifiedError(SESError):
+ """
+ Raised when a "Reply-To" address has not been validated in SES yet.
+ """
+ pass
+
+
+class SESIdentityNotVerifiedError(SESError):
+ """
+ Raised when an identity (domain or address) has not been verified in SES yet.
+ """
+ pass
+
+
+class SESDomainNotConfirmedError(SESError):
+ """
+ """
+ pass
+
+
+class SESAddressBlacklistedError(SESError):
+ """
+ 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(SESError):
+ """
+ Your account's daily (rolling 24 hour total) allotment of outbound emails
+ has been exceeded.
+ """
+ pass
+
+
+class SESMaxSendingRateExceededError(SESError):
+ """
+ Your account's requests/second limit has been exceeded.
+ """
+ pass
+
+
+class SESDomainEndsWithDotError(SESError):
+ """
+ Recipient's email address' domain ends with a period/dot.
+ """
+ pass
+
+
+class SESLocalAddressCharacterError(SESError):
+ """
+ An address contained a control or whitespace character.
+ """
+ pass
+
+
+class SESIllegalAddressError(SESError):
+ """
+ Raised when an illegal address is encountered.
+ """
+ pass

Powered by Google App Engine
This is Rietveld 408576698