mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-18 10:32:00 +02:00
Initial commit: OCA Technical packages (595 packages)
This commit is contained in:
commit
2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions
18
odoo-bringout-oca-connector-component/component/exception.py
Normal file
18
odoo-bringout-oca-connector-component/component/exception.py
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# Copyright 2017 Camptocamp SA
|
||||
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html)
|
||||
|
||||
|
||||
class ComponentException(Exception):
|
||||
"""Base Exception for the components"""
|
||||
|
||||
|
||||
class NoComponentError(ComponentException):
|
||||
"""No component has been found"""
|
||||
|
||||
|
||||
class SeveralComponentError(ComponentException):
|
||||
"""More than one component have been found"""
|
||||
|
||||
|
||||
class RegistryNotReadyError(ComponentException):
|
||||
"""Component registry not ready yet for given DB."""
|
||||
Loading…
Add table
Add a link
Reference in a new issue