diff --git a/dokuWikiDumper/exceptions.py b/dokuWikiDumper/exceptions.py index ede6c85..aff6727 100644 --- a/dokuWikiDumper/exceptions.py +++ b/dokuWikiDumper/exceptions.py @@ -59,9 +59,28 @@ def __init__(self, title): def __str__(self): return "Action: edit: textarea not found for [[%s]]" % self.title + class ActionExportHtmlDisabled(Exception): def __init__(self, title): self.title = title def __str__(self): - return "Action: export_xhtml is disabled for [[%s]]" % self.title \ No newline at end of file + return "Action: export_xhtml is disabled for [[%s]]" % self.title + + +class ActionRevisionsDisabled(Exception): + def __init__(self, title): + self.title = title + + def __str__(self): + return "Action: revisions is disabled for [[%s]]" % self.title + + +class RevisionListNotFound(Exception): + def __init__(self, title): + self.title = title + + def __str__(self): + return "Revision list not found for [[%s]]" % self.title + +