Samir Boulahtit
1f2ccb4668
refactor: move fallback error templates to shared directory with improved naming
Reorganize error template structure to consolidate shared templates in a dedicated location.
Changes:
- Move templates/fallback/* to templates/shared/ with -fallback suffix
- 404.html → 404-fallback.html
- 500.html → 500-fallback.html
- generic.html → generic-fallback.html
- Update error_renderer.py to use new template paths
- Modified template selection logic in _find_template()
- Updated documentation strings to reflect new paths
- Update error rendering documentation
- HTML_ERROR_RENDERING_FLOW_DIAGRAM.md: Updated diagrams and examples
- ERROR_RENDERING_DEVELOPER_DOCUMENTATION.md: Updated file structure and paths
Benefits:
- Clearer organization with all shared templates in shared/ directory
- Consistent naming convention (-fallback suffix) indicates purpose
- Aligns with existing cdn-fallback.html in same directory
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>