Exceptions should subclass Exception not BaseException. (#1082)
This commit is contained in:
@@ -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.
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user