mirror of
https://github.com/myned/modufur.git
synced 2024-12-23 22:27:27 +00:00
Added Abort exception init for passing message
This commit is contained in:
parent
80f15032f0
commit
5d053f2ca8
1 changed files with 2 additions and 1 deletions
|
@ -106,7 +106,8 @@ class CheckFail(Exception):
|
||||||
|
|
||||||
|
|
||||||
class Abort(Exception):
|
class Abort(Exception):
|
||||||
pass
|
def __init__(self, message=None):
|
||||||
|
self.message = message
|
||||||
|
|
||||||
|
|
||||||
class Continue(Exception):
|
class Continue(Exception):
|
||||||
|
|
Loading…
Reference in a new issue