Exceptions should subclass Exception not BaseException.
This commit is contained in:
parent
43bd79adc9
commit
e815a4227b
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue