Exceptions should subclass Exception not BaseException. (#1082)

This commit is contained in:
afourney
2025-02-28 16:28:35 -08:00
committed by GitHub
parent 43bd79adc9
commit f01c6c5277

View File

@@ -1,7 +1,7 @@
from typing import Optional, List, Any from typing import Optional, List, Any
class MarkItDownException(BaseException): class MarkItDownException(Exception):
""" """
Base exception class for MarkItDown. Base exception class for MarkItDown.
""" """