PluginManager/PluginExceptions.py

branch
Py2 comp.
changeset 3058
0a02c433f52d
parent 3057
10516539f238
parent 3022
57179e4cdadd
child 3145
a9de05d4a22f
equal deleted inserted replaced
3057:10516539f238 3058:0a02c433f52d
52 @param msg message to be used by the exception (string) 52 @param msg message to be used by the exception (string)
53 """ 53 """
54 if msg: 54 if msg:
55 self._errorMessage = msg 55 self._errorMessage = msg
56 else: 56 else:
57 self._errorMessage = \ 57 self._errorMessage = QApplication.translate(
58 QApplication.translate("PluginError", 58 "PluginError",
59 "Plugin paths not found or not creatable.") 59 "Plugin paths not found or not creatable.")
60 60
61 61
62 class PluginModulesError(PluginError): 62 class PluginModulesError(PluginError):
63 """ 63 """
64 Class defining an error raised, when no plugin modules were found. 64 Class defining an error raised, when no plugin modules were found.

eric ide

mercurial