Skip to content

fix: allow request handlers to raise errors - #25

Merged
oboard merged 1 commit into
mainfrom
fix/handler-error-raising-clean
Aug 21, 2026
Merged

fix: allow request handlers to raise errors#25
oboard merged 1 commit into
mainfrom
fix/handler-error-raising-clean

Conversation

@oboard

@oboard oboard commented Aug 21, 2026

Copy link
Copy Markdown
Owner

Summary

  • allow HTTP handlers and middleware/next callbacks to propagate checked errors
  • catch unhandled request errors at dispatch and convert them to default/custom error responses while preserving async cancellation
  • wire JS/native/mongoose request paths and regenerate package interfaces
  • add white-box tests for default 500 handling, custom on_error, and locally caught errors

Tests

  • moon fmt
  • moon check --target native
  • moon check --target js
  • moon test --target native
  • moon test --target js
  • moon info
  • moon check --target all

🤖 Generated with Claude Code

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@oboard
oboard merged commit 7980aa1 into main Aug 21, 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