how to redirect on server error ? #10003
Unanswered
HananoshikaYomaru
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
let me describe what I want to do. I have a specific type of error (called it
ZError
) which could thrown deep inside the code, so sometimes it is uncaught. I want to handle it in the outer most layer. If it isZError
, redirect the user to a specific page. How can I achieve something like this without wrapping every loader with a try catch?Beta Was this translation helpful? Give feedback.
All reactions