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

9 lines
116 B
Vue

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