In the tested FastHTML version, exception handlers receive a third positional status_code argument; handlers written to the conventional request, exc signature fail. Returning FT content from this path also mis-renders, while a plain Starlette Response works. Repro context: https://github.com/lgs/iii-fasthtml-frontend/blob/main/docs/ARCHITECTURE.md#11-platform-quirks-discovered-all-worked-around-in-code. Expected: documented/stable handler signature and normal FT rendering on error paths.
In the tested FastHTML version, exception handlers receive a third positional status_code argument; handlers written to the conventional request, exc signature fail. Returning FT content from this path also mis-renders, while a plain Starlette Response works. Repro context: https://github.com/lgs/iii-fasthtml-frontend/blob/main/docs/ARCHITECTURE.md#11-platform-quirks-discovered-all-worked-around-in-code. Expected: documented/stable handler signature and normal FT rendering on error paths.