Error boundary or custom error page from middlewares #178
Unanswered
stefanosandes
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Why not use Remix's ErrorBoundary component? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
Is it possible to set up error pages using Hono middleware? I want to avoid redirects or URL changes.
My use case is as follows: I have a middleware that checks for a condition. I want to proceed or show a "not found" message depending on the condition.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions