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:
2021-12-03 16:20:04 +01:00
parent 3959aff10e
commit d46148a510
2 changed files with 18 additions and 1 deletions

10
src/mwfin/exceptions.py Normal file
View File

@ -0,0 +1,10 @@
class WrongAssumptions(Exception):
pass
class UnexpectedMarkup(WrongAssumptions):
pass
class UnknownFinancialStatementItem(WrongAssumptions):
pass