Skip to content

Commit

Permalink
Document HeaderWriteError
Browse files Browse the repository at this point in the history
  • Loading branch information
encukou committed Jul 29, 2024
1 parent 64dcb44 commit af41733
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Doc/library/email.errors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ The following exception classes are defined in the :mod:`email.errors` module:
:class:`~email.mime.nonmultipart.MIMENonMultipart` (e.g.
:class:`~email.mime.image.MIMEImage`).


.. exception:: HeaderWriteError()

Raised when an error occurs when the :mod:`~email.generator` outputs
headers.


.. exception:: MessageDefect()

This is the base class for all defects found when parsing email messages.
Expand Down

0 comments on commit af41733

Please sign in to comment.