File: error.rst

package info (click to toggle)
python-pathvalidate 3.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 692 kB
  • sloc: python: 3,987; makefile: 262; sh: 6
file content (32 lines) | stat: -rw-r--r-- 1,882 bytes parent folder | download | duplicates (2)
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
Errors
---------------

.. autoclass:: pathvalidate.error.ErrorReason
    :members:
    :undoc-members:
    :show-inheritance:

.. table:: List of Errors

    +--------+------------------------+------------------------------------------------------+
    |  Code  |          Name          |                     Description                      |
    +========+========================+======================================================+
    | PV1001 | NULL_NAME              | the value must not be an empty string                |
    +--------+------------------------+------------------------------------------------------+
    | PV1002 | RESERVED_NAME          | found a reserved name by a platform                  |
    +--------+------------------------+------------------------------------------------------+
    | PV1100 | INVALID_CHARACTER      | invalid characters found                             |
    +--------+------------------------+------------------------------------------------------+
    | PV1101 | INVALID_LENGTH         | found an invalid string length                       |
    +--------+------------------------+------------------------------------------------------+
    | PV1200 | FOUND_ABS_PATH         | found an absolute path where must be a relative path |
    +--------+------------------------+------------------------------------------------------+
    | PV1201 | MALFORMED_ABS_PATH     | found a malformed absolute path                      |
    +--------+------------------------+------------------------------------------------------+
    | PV2000 | INVALID_AFTER_SANITIZE | found invalid value after sanitizing                 |
    +--------+------------------------+------------------------------------------------------+

.. autoexception:: pathvalidate.error.ValidationError
    :members:
    :undoc-members:
    :show-inheritance: