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. |