Skip to content

feat: add onError lifecycle hook with zero-cost conditional try-catch#627

Merged
ynwd merged 1 commit intomainfrom
feat/hook
Mar 9, 2026
Merged

feat: add onError lifecycle hook with zero-cost conditional try-catch#627
ynwd merged 1 commit intomainfrom
feat/hook

Conversation

@ynwd
Copy link
Copy Markdown
Member

@ynwd ynwd commented Mar 9, 2026

  • Add onError hook to server.ts with serve-time handler selection
  • Implement conditional try-catch (only active when onError registered)
  • Add onError hook to app.ts with error handling routes
  • Achieve 100% branch/line coverage for all files
  • Stabilize benchmark with per-scenario native/fastro interleaving
  • Update README badge to 116% of native performance

- Add onError hook to server.ts with serve-time handler selection
- Implement conditional try-catch (only active when onError registered)
- Add onError hook to app.ts with error handling routes
- Achieve 100% branch/line coverage for all files
- Stabilize benchmark with per-scenario native/fastro interleaving
- Update README badge to 116% of native performance
@ynwd ynwd self-assigned this Mar 9, 2026
@ynwd ynwd merged commit 0b03918 into main Mar 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant