mention exceptions in the execution order section#636
Merged
yusukebe merged 2 commits intohonojs:mainfrom Apr 11, 2025
Merged
Conversation
This is something that caused a lot of confusion when I was getting onboarded onto a hono-based project recently. It feels like it is worth calling out explicitly.
yusukebe
reviewed
Apr 11, 2025
Member
|
Hey @alsuren Your understanding is correct. If the middleware or handler throws, the application catches it automatically and returns the response from the error handler, which can be customized with |
Member
|
Thanks! |
codeOwlAI
pushed a commit
to codeOwlAI/website
that referenced
this pull request
Jun 29, 2025
update dependencies
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is something that caused a lot of confusion when I was getting onboarded onto a hono-based project recently. It feels like it is worth calling out explicitly.
This is also a perfect opportunity for me to check for more holes in my understanding. Is what I've written correct, or is there a better mental model that I should be using instead?