repo-autoindex/repo_autoindex/__init__.py
Rohan McGovern 293f5887b7 Implement error handling
Ultimately, all errors are propagated in some way, but it's important to
differentiate between "the content was invalid" vs "failed to fetch the
content".
2022-08-09 08:51:06 +10:00

7 lines
210 B
Python

from ._impl.api import autoindex
from ._impl.base import Fetcher, GeneratedIndex, ContentError
ContentError.__module__ = "repo_autoindex"
__all__ = ["autoindex", "ContentError", "Fetcher", "GeneratedIndex"]