email.errors
index
/usr/local/lib/python2.5/email/errors.py
Module Docs

email package exception classes.

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

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

Data descriptors inherited from MessageError:
__weakref__
list of weak references to the object (if defined)

Methods inherited from exceptions.Exception:
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Data and other attributes inherited from exceptions.Exception:
__new__ = <built-in method __new__ of type object at 0x8125440>
T.__new__(S, ...) -> a new object with type S, a subtype of T

Methods inherited from exceptions.BaseException:
__delattr__(...)
x.__delattr__('name') <==> del x.name
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__getitem__(...)
x.__getitem__(y) <==> x[y]
__getslice__(...)
x.__getslice__(i, j) <==> x[i:j]
 
Use of negative indices is not supported.
__reduce__(...)
__repr__(...)
x.__repr__() <==> repr(x)
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
__setstate__(...)
__str__(...)
x.__str__() <==> str(x)

Data descriptors inherited from exceptions.BaseException:
__dict__
args
message
exception message

 
class CharsetError(MessageError)
    An illegal charset was given.
 
 
Method resolution order:
CharsetError
MessageError
exceptions.Exception
exceptions.BaseException
__builtin__.object

Data descriptors inherited from MessageError:
__weakref__
list of weak references to the object (if defined)

Methods inherited from exceptions.Exception:
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Data and other attributes inherited from exceptions.Exception:
__new__ = <built-in method __new__ of type object at 0x8125440>
T.__new__(S, ...) -> a new object with type S, a subtype of T

Methods inherited from exceptions.BaseException:
__delattr__(...)
x.__delattr__('name') <==> del x.name
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__getitem__(...)
x.__getitem__(y) <==> x[y]
__getslice__(...)
x.__getslice__(i, j) <==> x[i:j]
 
Use of negative indices is not supported.
__reduce__(...)
__repr__(...)
x.__repr__() <==> repr(x)
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
__setstate__(...)
__str__(...)
x.__str__() <==> str(x)

Data descriptors inherited from exceptions.BaseException:
__dict__
args
message
exception message

 
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
exceptions.BaseException
__builtin__.object

Data descriptors inherited from MessageError:
__weakref__
list of weak references to the object (if defined)

Methods inherited from exceptions.Exception:
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Data and other attributes inherited from exceptions.Exception:
__new__ = <built-in method __new__ of type object at 0x8125440>
T.__new__(S, ...) -> a new object with type S, a subtype of T

Methods inherited from exceptions.BaseException:
__delattr__(...)
x.__delattr__('name') <==> del x.name
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__getitem__(...)
x.__getitem__(y) <==> x[y]
__getslice__(...)
x.__getslice__(i, j) <==> x[i:j]
 
Use of negative indices is not supported.
__reduce__(...)
__repr__(...)
x.__repr__() <==> repr(x)
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
__setstate__(...)
__str__(...)
x.__str__() <==> str(x)

Data descriptors inherited from exceptions.BaseException:
__dict__
args
message
exception message

 
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.
 
 
Method resolution order:
MessageError
exceptions.Exception
exceptions.BaseException
__builtin__.object

Data descriptors defined here:
__weakref__
list of weak references to the object (if defined)

Methods inherited from exceptions.Exception:
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Data and other attributes inherited from exceptions.Exception:
__new__ = <built-in method __new__ of type object at 0x8125440>
T.__new__(S, ...) -> a new object with type S, a subtype of T

Methods inherited from exceptions.BaseException:
__delattr__(...)
x.__delattr__('name') <==> del x.name
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__getitem__(...)
x.__getitem__(y) <==> x[y]
__getslice__(...)
x.__getslice__(i, j) <==> x[i:j]
 
Use of negative indices is not supported.
__reduce__(...)
__repr__(...)
x.__repr__() <==> repr(x)
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
__setstate__(...)
__str__(...)
x.__str__() <==> str(x)

Data descriptors inherited from exceptions.BaseException:
__dict__
args
message
exception message

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

Data descriptors inherited from MessageError:
__weakref__
list of weak references to the object (if defined)

Methods inherited from exceptions.Exception:
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Data and other attributes inherited from exceptions.Exception:
__new__ = <built-in method __new__ of type object at 0x8125440>
T.__new__(S, ...) -> a new object with type S, a subtype of T

Methods inherited from exceptions.BaseException:
__delattr__(...)
x.__delattr__('name') <==> del x.name
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__getitem__(...)
x.__getitem__(y) <==> x[y]
__getslice__(...)
x.__getslice__(i, j) <==> x[i:j]
 
Use of negative indices is not supported.
__reduce__(...)
__repr__(...)
x.__repr__() <==> repr(x)
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
__setstate__(...)
__str__(...)
x.__str__() <==> str(x)

Data descriptors inherited from exceptions.BaseException:
__dict__
args
message
exception message

 
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.TypeError
exceptions.StandardError
exceptions.Exception
exceptions.BaseException
__builtin__.object

Data descriptors inherited from MessageError:
__weakref__
list of weak references to the object (if defined)

Methods inherited from exceptions.TypeError:
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Data and other attributes inherited from exceptions.TypeError:
__new__ = <built-in method __new__ of type object at 0x8125600>
T.__new__(S, ...) -> a new object with type S, a subtype of T

Methods inherited from exceptions.BaseException:
__delattr__(...)
x.__delattr__('name') <==> del x.name
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__getitem__(...)
x.__getitem__(y) <==> x[y]
__getslice__(...)
x.__getslice__(i, j) <==> x[i:j]
 
Use of negative indices is not supported.
__reduce__(...)
__repr__(...)
x.__repr__() <==> repr(x)
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
__setstate__(...)
__str__(...)
x.__str__() <==> str(x)

Data descriptors inherited from exceptions.BaseException:
__dict__
args
message
exception message

 
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)