.. currentmodule:: headerparser

Exceptions
==========
.. autoexception:: Error
    :show-inheritance:

Parser Errors
-------------
.. autoexception:: ParserError
    :show-inheritance:
.. autoexception:: BodyNotAllowedError
    :show-inheritance:
.. autoexception:: DuplicateFieldError
    :show-inheritance:
.. autoexception:: FieldTypeError
    :show-inheritance:
.. autoexception:: InvalidChoiceError
    :show-inheritance:
.. autoexception:: MissingBodyError
    :show-inheritance:
.. autoexception:: MissingFieldError
    :show-inheritance:
.. autoexception:: UnknownFieldError
    :show-inheritance:

Scanner Errors
--------------
.. autoexception:: ScannerError
    :show-inheritance:
.. autoexception:: MalformedHeaderError
    :show-inheritance:
.. autoexception:: UnexpectedFoldingError
    :show-inheritance:
.. autoexception:: ScannerEOFError
    :show-inheritance:
