Files
tryton/modules/product/exceptions.py
T

25 lines
493 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.model.exceptions import AccessError, ValidationError
2018-12-29 14:20:29 +01:00
2021-04-04 15:50:01 +02:00
class TemplateValidationError(ValidationError):
pass
class ProductValidationError(TemplateValidationError):
pass
2018-12-29 14:20:29 +01:00
class UOMValidationError(ValidationError):
pass
2019-06-06 19:20:43 +02:00
class UOMAccessError(AccessError):
pass
2019-06-06 19:20:43 +02:00
class InvalidIdentifierCode(ValidationError):
pass