Exceptions should subclass Exception not BaseException.

This commit is contained in:
Adam Fourney 2025-02-28 16:26:56 -08:00
parent 43bd79adc9
commit e815a4227b

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.
""" """