Add msg property to FunctionTimedOut exception (also can get by str( exception )
This commit is contained in:
parent
75d90251f6
commit
b729265855
@ -36,6 +36,8 @@ class FunctionTimedOut(BaseException):
|
|||||||
|
|
||||||
BaseException.__init__(self, msg)
|
BaseException.__init__(self, msg)
|
||||||
|
|
||||||
|
self.msg = msg
|
||||||
|
|
||||||
|
|
||||||
def getMsg(self):
|
def getMsg(self):
|
||||||
'''
|
'''
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user