Source code for odoo.addons.component.exception

# -*- coding: utf-8 -*-
# Copyright 2017 Camptocamp SA
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html)


[docs]class ComponentException(Exception): """ Base Exception for the components """
[docs]class NoComponentError(ComponentException): """ No component has been found """
[docs]class SeveralComponentError(ComponentException): """ More than one component have been found """