.. currentmodule:: headerparser

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

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

Scanner Errors
--------------
.. autoexception:: headerparser.errors.ScannerError
    :show-inheritance:
.. autoexception:: headerparser.errors.MalformedHeaderError
    :show-inheritance:
.. autoexception:: headerparser.errors.UnexpectedFoldingError
    :show-inheritance:
