is_relevant_table_row should raise a custom exception for unknown items, find_relevant_table_rows should handle the rest
This commit is contained in:
10
src/mwfin/exceptions.py
Normal file
10
src/mwfin/exceptions.py
Normal file
@ -0,0 +1,10 @@
|
||||
class WrongAssumptions(Exception):
|
||||
pass
|
||||
|
||||
|
||||
class UnexpectedMarkup(WrongAssumptions):
|
||||
pass
|
||||
|
||||
|
||||
class UnknownFinancialStatementItem(WrongAssumptions):
|
||||
pass
|
Reference in New Issue
Block a user