Nuxt/test/fixtures/basic/pages/error-object.vue

9 lines
114 B
Vue
Raw Normal View History

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