You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
295 B

  1. # -*- coding: utf-8 -*-
  2. # © 2016 ACSONE SA/NV (<http://acsone.eu>)
  3. # © 2016 Akretion (<http://akretion.com>)
  4. # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
  5. class DataError(Exception):
  6. def __init__(self, name, msg):
  7. self.name = name
  8. self.msg = msg