Add ir.message and use custom exceptions
issue3672
This commit is contained in:
1 parent
f301ebdf26
commit
432a6cdbd5
7 files changed
+121
-34
No files matched your search
@@ -0,0 +1,19 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
from trytond.exceptions import UserError, UserWarning
|
||||
|
||||
|
||||
class ImportStatementError(UserError):
|
||||
pass
|
||||
|
||||
|
||||
class StatementValidateError(UserError):
|
||||
pass
|
||||
|
||||
|
||||
class StatementValidateWarning(UserWarning):
|
||||
pass
|
||||
|
||||
|
||||
class StatementPostError(UserError):
|
||||
pass
|
||||
Reference in new issue
Block a user