In this lesson, we’ll shift our attention to server-side errors. Many of the same principles apply, but there are some differences between handling client and server-side errors.
We’ll see how we can add a custom error page with error.vue, and how we can use the clearError and useError composables to work with the server-side error object.
useError: https://nuxt.com/docs/api/composables/use-error
clearError: https://nuxt.com/docs/api/utils/clear-error
18 lessons
7 lessons
7 lessons
11 lessons
18 lessons
8 lessons
17 lessons