girayG
Convex Community2y ago
15 replies
giray

Global Error Catcher

I have an application that has many mutations and these mutations return an error if the user is not logged in. In that case I want to direct user to the login page, however, I do not want to modify all my client code to do this for a particular error. Is there a way to catch all errors on the client side (NextJS app router)?
Was this page helpful?