mirror of
https://github.com/myned/modufur.git
synced 2024-11-01 21:02:38 +00:00
Added message attribute to Save exception
This commit is contained in:
parent
3f73419f79
commit
165d134b6d
1 changed files with 2 additions and 2 deletions
|
@ -39,9 +39,9 @@ class Right(Exception):
|
||||||
|
|
||||||
|
|
||||||
class Save(Exception):
|
class Save(Exception):
|
||||||
def __init__(self, user=None):
|
def __init__(self, user=None, message=None):
|
||||||
self.user = user
|
self.user = user
|
||||||
|
self.message = message
|
||||||
|
|
||||||
class GoTo(Exception):
|
class GoTo(Exception):
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in a new issue