-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
- Description
- Standardize errors and logs so users get actionable, stable signals across modules.
- Scope
- Use
flare_ai_kit.common.exceptionsuniformly; add/align specific exception types where gaps exist. - Replace ad-hoc raises with the standardized exceptions; keep messages concise and actionable.
- Make logging structured and consistent (levels, no secrets/keys in logs). Use
structlogsemantics. - Document common failure modes and how to handle them.
- Use
- Acceptance criteria
- All public functions raise documented exceptions from the common module.
- No plaintext secrets/tokens in logs; sensitive values masked.
- A short “Troubleshooting” section in
docs/mapping exceptions → likely causes → fixes. - CI green; no behavior changes to happy paths.
- Deliverables
- Updated annotations across
src/. - List of remaining suppressions with reasons (in PR description).
- Updated annotations across
- Key Files Involved (Proposed)
src/flare_ai_kit/common/exceptions.py- All modules under
src/flare_ai_kit/**that raise/log docs/*.md(addtroubleshooting.md)
Metadata
Metadata
Assignees
Labels
No labels