N
Nuxt3mo ago
ALI

Custom Error page.

Hello everyone! I have built a custom error page but I am also using catch all route. ([...slug].vue). Now, it has become very hard to catch those errors. if i am getting 500 error it will not catch it and display it etc. any advice in the matter is appreciated.
1 Reply
owljackob
owljackob3mo ago
Do you use NuxtErrorBoundary? You can also use createError (https://nuxt.com/docs/api/utils/create-error). You need to separate the errors that happen on the server from the errors that happen for the client.
Want results from more Discord servers?
Add your server