Source code for odoo.addons.component.exception

# -*- coding: utf-8 -*-
# Copyright 2017 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.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 """