Error handling in nextjs13
[NEXTJS 13.5] app dir
hello, how can i handle nextjs errors correctly? Because for now when for example API throws 502 (is denied at this moment) my entire vercel app is returning error as you can see on screen. For now i just have rejceting promise in error case. Should i have another "catcher" on that which will do something with this error? Because it looks like my errors.tsx doesnt catches these errors :/
0 Replies