1
0

wizard: (trivial) add show_error to base class, document API

This commit is contained in:
SomberNight
2020-04-09 19:10:39 +02:00
parent 08a7925235
commit 71eed1d4cb
3 changed files with 14 additions and 5 deletions

View File

@@ -685,3 +685,6 @@ class BaseWizard(Logger):
self.line_dialog(run_next=f, title=title, message=message, default='', test=lambda x: x==passphrase)
else:
f('')
def show_error(self, msg: Union[str, BaseException]) -> None:
raise NotImplementedError()