PluginManager/PluginExceptions.py

changeset 3591
2f2a4a76dd22
parent 3520
bfcefbb1633c
child 3656
441956d8fce5
equal deleted inserted replaced
3590:5280e37405b8 3591:2f2a4a76dd22
23 self._errorMessage = \ 23 self._errorMessage = \
24 QApplication.translate("PluginError", "Unspecific plugin error.") 24 QApplication.translate("PluginError", "Unspecific plugin error.")
25 25
26 def __repr__(self): 26 def __repr__(self):
27 """ 27 """
28 Private method returning a representation of the exception. 28 Special method returning a representation of the exception.
29 29
30 @return string representing the error message 30 @return string representing the error message
31 """ 31 """
32 return str(self._errorMessage) 32 return str(self._errorMessage)
33 33
34 def __str__(self): 34 def __str__(self):
35 """ 35 """
36 Private method returning a string representation of the exception. 36 Special method returning a string representation of the exception.
37 37
38 @return string representing the error message 38 @return string representing the error message
39 """ 39 """
40 return str(self._errorMessage) 40 return str(self._errorMessage)
41 41

eric ide

mercurial