email.Errors
index
/usr/local/lib/python2.4/email/Errors.py
Module Docs

email package exception classes.

 
Classes
       
MessageDefect
FirstHeaderLineIsContinuationDefect
MalformedHeaderDefect
MisplacedEnvelopeHeaderDefect
MultipartInvariantViolationDefect
NoBoundaryInMultipartDefect
StartBoundaryNotFoundDefect
exceptions.Exception
MessageError
MessageParseError
BoundaryError
HeaderParseError
MultipartConversionError(MessageError, exceptions.TypeError)

 
class BoundaryError(MessageParseError)
    Couldn't find terminating boundary.
 
 
Method resolution order:
BoundaryError
MessageParseError
MessageError
exceptions.Exception

Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)

 
class FirstHeaderLineIsContinuationDefect(MessageDefect)
    A message had a continuation line as its first header line.
 
  Methods inherited from MessageDefect:
__init__(self, line=None)

 
class HeaderParseError(MessageParseError)
    Error while parsing headers.
 
 
Method resolution order:
HeaderParseError
MessageParseError
MessageError
exceptions.Exception

Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)

 
class MalformedHeaderDefect(MessageDefect)
    Found a header that was missing a colon, or was otherwise malformed.
 
  Methods inherited from MessageDefect:
__init__(self, line=None)

 
class MessageDefect
    Base class for a message defect.
 
  Methods defined here:
__init__(self, line=None)

 
class MessageError(exceptions.Exception)
    Base class for errors in the email package.
 
  Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)

 
class MessageParseError(MessageError)
    Base class for message parsing errors.
 
 
Method resolution order:
MessageParseError
MessageError
exceptions.Exception

Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)

 
class MisplacedEnvelopeHeaderDefect(MessageDefect)
    A 'Unix-from' header was found in the middle of a header block.
 
  Methods inherited from MessageDefect:
__init__(self, line=None)

 
class MultipartConversionError(MessageError, exceptions.TypeError)
    Conversion to a multipart is prohibited.
 
 
Method resolution order:
MultipartConversionError
MessageError
exceptions.Exception
exceptions.TypeError
exceptions.StandardError

Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)

 
class MultipartInvariantViolationDefect(MessageDefect)
    A message claimed to be a multipart but no subparts were found.
 
  Methods inherited from MessageDefect:
__init__(self, line=None)

 
class NoBoundaryInMultipartDefect(MessageDefect)
    A message claimed to be a multipart but had no boundary parameter.
 
  Methods inherited from MessageDefect:
__init__(self, line=None)

 
class StartBoundaryNotFoundDefect(MessageDefect)
    The claimed start boundary was never found.
 
  Methods inherited from MessageDefect:
__init__(self, line=None)