In this lesson, we learn how to deal with errors in the response from the Nuxt 3 useFetch
function. The built in Nuxt function showError
provides a handy way to set status codes and error messages.
NOTE This video has been updated since it was originally published to fix an issue. Please watch until the end to see update. Thanks!
Links