E5Gui/E5Action.py

changeset 3591
2f2a4a76dd22
parent 3178
f25fc1364c88
child 3656
441956d8fce5
equal deleted inserted replaced
3590:5280e37405b8 3591:2f2a4a76dd22
28 """ 28 """
29 self.errorMessage = str(error) 29 self.errorMessage = str(error)
30 30
31 def __repr__(self): 31 def __repr__(self):
32 """ 32 """
33 Private method returning a representation of the exception. 33 Special method returning a representation of the exception.
34 34
35 @return string representing the error message 35 @return string representing the error message
36 """ 36 """
37 return str(self.errorMessage) 37 return str(self.errorMessage)
38 38
39 def __str__(self): 39 def __str__(self):
40 """ 40 """
41 Private method returning a string representation of the exception. 41 Special method returning a string representation of the exception.
42 42
43 @return string representing the error message 43 @return string representing the error message
44 """ 44 """
45 return str(self.errorMessage) 45 return str(self.errorMessage)
46 46

eric ide

mercurial