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

9 lines
115 B
Vue
Raw Normal View History

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