--- a/src/eric7/PluginManager/PluginExceptions.py Wed Dec 20 11:06:38 2023 +0100 +++ b/src/eric7/PluginManager/PluginExceptions.py Wed Dec 20 14:58:58 2023 +0100 @@ -28,6 +28,7 @@ Special method returning a representation of the exception. @return string representing the error message + @rtype str """ return str(self._errorMessage) @@ -36,6 +37,7 @@ Special method returning a string representation of the exception. @return string representing the error message + @rtype str """ return str(self._errorMessage) @@ -50,7 +52,8 @@ """ Constructor - @param msg message to be used by the exception (string) + @param msg message to be used by the exception + @type str """ if msg: self._errorMessage = msg @@ -84,7 +87,8 @@ """ Constructor - @param name name of the plugin module (string) + @param name name of the plugin module + @type str """ self._errorMessage = QCoreApplication.translate( "PluginError", "Error loading plugin module: {0}" @@ -101,7 +105,8 @@ """ Constructor - @param name name of the plugin module (string) + @param name name of the plugin module + @type str """ self._errorMessage = QCoreApplication.translate( "PluginError", "Error activating plugin module: {0}" @@ -117,8 +122,10 @@ """ Constructor - @param name name of the plugin module (string) - @param missing description of the missing element (string) + @param name name of the plugin module + @type str + @param missing description of the missing element + @type str """ self._errorMessage = QCoreApplication.translate( "PluginError", "The plugin module {0} is missing {1}." @@ -134,10 +141,13 @@ """ Constructor - @param name name of the plugin module (string) + @param name name of the plugin module + @type str @param class_ name of the class not satisfying the requirements - (string) - @param missing description of the missing element (string) + + @type str + @param missing description of the missing element + @type str """ self._errorMessage = QCoreApplication.translate( "PluginError", "The plugin class {0} of module {1} is missing {2}."