FEM: fix missing error classes

This commit is contained in:
Bernd Hahnebach
2019-12-16 05:10:43 +01:00
parent d2c9fac6b8
commit 80dfbfd381
2 changed files with 3 additions and 2 deletions

View File

@@ -239,7 +239,7 @@ def _getBesideBase(solver):
"Can't start Solver",
error_message
)
raise MustSaveError()
raise femutils.MustSaveError()
return path
@@ -264,7 +264,7 @@ def _getCustomBase(solver):
"Can't start Solver",
error_message
)
raise DirectoryDoesNotExistError("Invalid path")
raise femutils.DirectoryDoesNotExistError("Invalid path")
return path

View File

@@ -355,6 +355,7 @@ def check_working_dir(wdir):
return False
# TODO: move in own error module
class MustSaveError(Exception):
pass