PluginManager/PluginExceptions.py

changeset 3022
57179e4cdadd
parent 2992
dbdf27746da5
child 3058
0a02c433f52d
child 3160
209a07d7e401
equal deleted inserted replaced
3021:801289962f4e 3022:57179e4cdadd
50 @param msg message to be used by the exception (string) 50 @param msg message to be used by the exception (string)
51 """ 51 """
52 if msg: 52 if msg:
53 self._errorMessage = msg 53 self._errorMessage = msg
54 else: 54 else:
55 self._errorMessage = \ 55 self._errorMessage = QApplication.translate(
56 QApplication.translate("PluginError", 56 "PluginError",
57 "Plugin paths not found or not creatable.") 57 "Plugin paths not found or not creatable.")
58 58
59 59
60 class PluginModulesError(PluginError): 60 class PluginModulesError(PluginError):
61 """ 61 """
62 Class defining an error raised, when no plugin modules were found. 62 Class defining an error raised, when no plugin modules were found.

eric ide

mercurial