~/talk

Error Handling in Nuxt 3

Talkat Vue.js Nation 2023 · 2023-01-25..01-26· [vue]
slides:none on file

Builds an online course shell with nested routing, lesson pane, localStorage lesson completion later backed by Supabase + Prisma, then demonstrates breaking rendering by throwing a createError and showing how Nuxt Error Boundary catches it and swaps to an error slot instead of crashing the page. The caught error is a ref accessed as error.value, and resetting it with error.value = null restores the component while noting you must fix the root cause or the error will recur; also recommends external logging (Rollbar/etc.).

AI-written summary · about

  1. 0:00Introduction
  2. 3:22Why Error Handling
  3. 12:56Next Error Boundary
  4. 20:51Promotion
  5. 21:56Book
  6. 23:06Questions
  7. 30:46Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.