Exceptions
docstring_format_checker.utils.exceptions
🔗
DocstringError
🔗
Bases: Exception
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 |
|
__init__
🔗
__init__(
message: str,
file_path: str,
line_number: int,
item_name: str,
item_type: str,
) -> None
Source code in src/docstring_format_checker/utils/exceptions.py
6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
|
InvalidConfigError
🔗
Bases: Exception
Source code in src/docstring_format_checker/utils/exceptions.py
22 23 |
|
InvalidConfigError_DuplicateOrderValues
🔗
Bases: Exception
Source code in src/docstring_format_checker/utils/exceptions.py
26 27 |
|
InvalidTypeValuesError
🔗
Bases: Exception
Source code in src/docstring_format_checker/utils/exceptions.py
30 31 |
|
InvalidFileError
🔗
Bases: OSError
Source code in src/docstring_format_checker/utils/exceptions.py
34 35 |
|
DirectoryNotFoundError
🔗
Bases: OSError
Source code in src/docstring_format_checker/utils/exceptions.py
38 39 |
|