summaryrefslogtreecommitdiffstats
path: root/Lib/email/errors.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/email/errors.py')
-rw-r--r--Lib/email/errors.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/email/errors.py b/Lib/email/errors.py
index c2ea7d4..c04deb4 100644
--- a/Lib/email/errors.py
+++ b/Lib/email/errors.py
@@ -55,3 +55,6 @@ class MalformedHeaderDefect(MessageDefect):
class MultipartInvariantViolationDefect(MessageDefect):
"""A message claimed to be a multipart but no subparts were found."""
+
+class InvalidMultipartContentTransferEncodingDefect(MessageDefect):
+ """An invalid content transfer encoding was set on the multipart itself."""