from trytond.exceptions import UserError class DianClientError(UserError): pass