Files
tryton/modules/party/exceptions.py
T

33 lines
599 B
Python
Raw Normal View History

2018-12-29 14:20:29 +01:00
# 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
from trytond.model.exceptions import ValidationError
class InvalidIdentifierCode(ValidationError):
pass
class InvalidPhoneNumber(ValidationError):
pass
2023-04-29 19:07:13 +02:00
class InvalidEMail(ValidationError):
pass
2018-12-29 14:20:29 +01:00
class VIESUnavailable(UserError):
pass
class SimilarityWarning(UserWarning):
pass
class EraseError(ValidationError):
pass
class InvalidFormat(ValidationError):
pass