File: errors.rst

package info (click to toggle)
python-headerparser 0.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 404 kB
  • sloc: python: 3,133; makefile: 6; sh: 4
file content (36 lines) | stat: -rw-r--r-- 879 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
.. 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: