Nuxt/test/fixtures/spa/pages/error-handler-object.vue

9 lines
114 B
Vue
Raw Normal View History

<script>
export default {
fetch() {
throw { error: 'fetch error!' } // eslint-disable-line
}
}
</script>