Exceptions should subclass Exception not BaseException. (#1082)
This commit is contained in:
parent
43bd79adc9
commit
f01c6c5277
1 changed files with 1 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
|||
from typing import Optional, List, Any
|
||||
|
||||
|
||||
class MarkItDownException(BaseException):
|
||||
class MarkItDownException(Exception):
|
||||
"""
|
||||
Base exception class for MarkItDown.
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue