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

9 lines
116 B
Vue
Raw Normal View History

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