Throwing error client side
Unanswered
Western yellowjacket posted this in #help-forum
Western yellowjacketOP
I want to present the
I'm doing
error.js page when the user makes a request to an API but fails with 401.I'm doing
throw Error() when that happens, but for some reason, its presenting the default nextjs error modal.