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

9 lines
124 B
Vue
Raw Normal View History

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