Debian Codegraph @

odoorpc/rpc/error.py

raw
1 # -*- coding: utf-8 -*-
2 # Copyright 2014 Sébastien Alix
3 # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl)
4
5
6 class ConnectorError(BaseException):
7 """Exception raised by the ``odoorpc.rpc`` package."""
8
9 def __init__(self, message, odoo_traceback=None):
10 self.message = message
11 self.odoo_traceback = odoo_traceback