feat(admin-config-tool): task 1.2 - shared exception taxonomy

XceAdminError base plus 8 subclasses (schema-not-found, validation,
reserved-name, duplicate-entry, connection-timeout, reply-decode,
too-many-redirects, no-primary) giving the future CLI layer one
dispatch surface instead of catching unrelated types per module.

Requirements: 7.1, 7.2, 7.3, 7.4
This commit is contained in:
Rongsong Shen 2026-07-22 03:06:40 +00:00
parent b30a856a2d
commit 2e4ef4e209
3 changed files with 327 additions and 1 deletions

View file

@ -7,7 +7,7 @@
- Observable: running the entry point after an editable install prints usage/help text without error, showing zero commands
- _Requirements: 5.4_
- [ ] 1.2 Establish a shared error-handling foundation
- [x] 1.2 Establish a shared error-handling foundation
- One common base exception type carries a human-readable message
- Every specific failure mode (schema not found, validation failure, reserved name, duplicate entry, connection timeout, corrupt reply, too many redirects, no primary available) has its own subclass
- Observable: raising any of these subclasses and catching the common base type recovers the message