Move config file exceptions into app.exceptions

Move ConfigDirError, ConfigFileNotFoundError, ConfigFileExistsError, ConfigFileWriteError, and ConfigFileNameError from raw_config_io_service into the shared domain exception module. Update router and tests to import the exceptions from app.exceptions.
This commit is contained in:
2026-04-15 10:28:27 +02:00
parent 328f3575e2
commit 0e22d1c425
7 changed files with 53 additions and 41 deletions

View File

@@ -44,6 +44,8 @@ Reference: `Docs/Refactoring.md` for full analysis of each issue.
**Why this is needed:** Routers should not reach into service internals to import exception types. All domain exceptions belong in the central registry so `main.py` global handlers and any future middleware can catch them uniformly.
**Status:** Completed ✅
---
### Task 3 — Eliminate the `config_file_service.py` delegation façade