mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 09:27:13 +00:00
12304909bc
* feat(nuxt3): add `<NuxtErrorBoundary>` component for fine-grained error handling * feat: add `@error` event handling * fix: don't clear error on nav * fix: remove `clearError` wrapper * fix: remove outdated implementation * update clear error * upddate example with FaultyComponent Co-authored-by: Pooya Parsa <pyapar@gmail.com>
8 lines
136 B
Vue
8 lines
136 B
Vue
<script setup>
|
|
throw new Error('Deliberate error by <ThrowError>')
|
|
</script>
|
|
|
|
<template>
|
|
<div>Should never see this</div>
|
|
</template>
|