# Exceptions The exceptions module defines custom exceptions used throughout oduit. ```{eval-rst} .. automodule:: oduit.exceptions :members: :undoc-members: :show-inheritance: ``` ## Exception Hierarchy ```text Exception └── ConfigError └── OdooOperationError ├── ModuleOperationError │ ├── ModuleInstallError │ ├── ModuleUpdateError │ └── ModuleNotFoundError └── DatabaseOperationError ``` ## Usage Examples ```python from oduit import ConfigLoader, ConfigError, ModuleInstallError, OdooOperations loader = ConfigLoader() try: config = loader.load_config("dev") except ConfigError as exc: print(f"Configuration error: {exc}") else: ops = OdooOperations(config) try: ops.install_module("nonexistent_module", raise_on_error=True) except ModuleInstallError as exc: print(f"Module installation failed: {exc}") ```