Files
WhatsAppCentralizado/services/integrations/app/odoo/exceptions.py
Claude AI c50459755a feat(integrations): add Odoo XML-RPC client
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 22:19:03 +00:00

24 lines
387 B
Python

class OdooError(Exception):
"""Base Odoo exception"""
pass
class OdooConnectionError(OdooError):
"""Failed to connect to Odoo"""
pass
class OdooAuthError(OdooError):
"""Authentication failed"""
pass
class OdooNotFoundError(OdooError):
"""Record not found"""
pass
class OdooValidationError(OdooError):
"""Validation error from Odoo"""
pass