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

9 lines
127 B
Vue
Raw Normal View History

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