Exceptions
docstring_format_checker.utils.exceptions
🔗
DocstringError
🔗
Bases: Exception
Summary
Exception raised when a docstring validation error occurs.
Source code in src/docstring_format_checker/utils/exceptions.py
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | |
__init__
🔗
__init__(
message: str,
file_path: str,
line_number: int,
item_name: str,
item_type: str,
) -> None
Summary
Initialize a DocstringError.
Source code in src/docstring_format_checker/utils/exceptions.py
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | |
InvalidConfigError
🔗
Bases: Exception
Summary
Exception raised for invalid configuration errors.
Source code in src/docstring_format_checker/utils/exceptions.py
27 28 29 30 31 32 33 | |
InvalidConfigError_DuplicateOrderValues
🔗
Bases: Exception
Summary
Exception raised for duplicate order values in configuration.
Source code in src/docstring_format_checker/utils/exceptions.py
36 37 38 39 40 41 42 | |
InvalidTypeValuesError
🔗
Bases: Exception
Summary
Exception raised for invalid type values in configuration.
Source code in src/docstring_format_checker/utils/exceptions.py
45 46 47 48 49 50 51 | |
InvalidFileError
🔗
Bases: OSError
Summary
Exception raised for invalid file errors.
Source code in src/docstring_format_checker/utils/exceptions.py
54 55 56 57 58 59 60 | |
DirectoryNotFoundError
🔗
Bases: OSError
Summary
Exception raised for directory not found errors.
Source code in src/docstring_format_checker/utils/exceptions.py
63 64 65 66 67 68 69 | |