~/talk

Error Handling in Nuxt 3

Talkat Nuxt Nation 2022 · 2022-11-16..11-17· [vue, frontend-architecture]
slides:none on file

Shows a small online course app (state in localStorage) that deliberately throws "could not update" when marking a lesson complete, then isolates that failure with createError and a Nuxt Error Boundary so only the lesson pane disappears while an error slot shows details. Resetting sets the error value to null and restores the component; to avoid an infinite crash loop the demo uses navigateTo before reset. Also notes a fatal error option that renders a full‑page error.

AI-written summary · about

  1. 0:00Error handling in Nuxt 3
  2. 1:54Client-side error importance
  3. 3:24Client-side errors demo
  4. 5:57Nuxt Error Boundary isolation
  5. 8:30Error slots and reset logic
  6. 12:31Avoiding infinite errors
  7. 16:29Server errors and overview
  8. 21:05Q&A: Full page vs boundaries
  9. 24:35Q&A: Error Boundary and Vue
~/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.