Go to file
matthias.lotz 548f94a652 refactor(exceptions): Erweitere Exception-Klassen mit vollständigen Implementierungen
Alle Exception-Klassen haben jetzt sinnvolle __init__-Methoden:

- ConfigurationError: path Parameter für Config-Dateipfad
- ConfigValidationError: field + value für fehlerhafte Felder
- ConnectionError: service Parameter (mqtt/odoo)
- MQTTConnectionError: broker + port Parameter
- DeviceError: device_id Parameter
- ValidationError: field + value für Validierungsfehler

Vorher: Klassen hatten nur 'pass' (technisch korrekt, aber wenig nützlich)
Nachher: Strukturierte Fehlerkontext-Erfassung mit dedizierten Attributen

Beispiel:
  # Alt:  raise ConfigurationError('File not found', details={'path': ...})
  # Neu:  raise ConfigurationError('File not found', path='/etc/config.yaml')

Angepasst:
- config/loader.py: Nutzt neuen path-Parameter statt details-Dict
- Alle bestehenden Aufrufe bleiben kompatibel (backward-compatible)

Test: python3 -c 'from exceptions import *; e = MQTTConnectionError(...)'
2026-02-18 22:33:37 +01:00
.github/workflows Phase 1: Foundation & Quality Tools 2026-02-18 22:11:25 +01:00
extra-addons/open_workshop/open_workshop_mqtt feat: IoT Bridge Health Monitoring & Dynamic MQTT Reconnection 2026-02-18 20:36:11 +01:00
iot_bridge refactor(exceptions): Erweitere Exception-Klassen mit vollständigen Implementierungen 2026-02-18 22:33:37 +01:00
odoo@fd43f0445a initial MQTT Development 2026-02-11 21:07:32 +01:00
.gitignore initial version 2026-02-10 20:00:27 +01:00
.readthedocs.yaml feat: Add automatic API documentation generation and device status monitoring 2026-02-15 11:03:22 +01:00
DEPLOYMENT.md feat: Add automatic API documentation generation and device status monitoring 2026-02-15 11:03:22 +01:00
DOCUMENTATION_STRATEGY.md feat: Add automatic API documentation generation and device status monitoring 2026-02-15 11:03:22 +01:00
FEATURE_REQUEST_DEVICE_STATUS.md feat: Add automatic API documentation generation and device status monitoring 2026-02-15 11:03:22 +01:00
FEATURE_REQUEST_OPEN_WORKSHOP_MQTT_IoT.md feat: benutzerfreundliche GUI für Device-Konfiguration mit Auto-Config-Push 2026-02-17 00:09:51 +01:00
IMPLEMENTATION_PLAN_DEVICE_STATUS.md feat: Add automatic API documentation generation and device status monitoring 2026-02-15 11:03:22 +01:00
IMPLEMENTATION_PLAN.md Update Implementation Plan 2026-02-18 21:20:22 +01:00