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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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