0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2024-11-09 13:05:07 +00:00
VueTube/NUXT/layouts/error.vue

32 lines
644 B
Vue
Raw Normal View History

2022-01-24 22:56:57 +00:00
<template>
<v-app>
<center>
2022-03-04 14:32:09 +00:00
<v-icon size="100">mdi-alert-circle</v-icon>
<h1 class="grey--text">An error occured!</h1>
<v-btn to="/">Reload Application</v-btn>
2022-03-04 14:32:09 +00:00
<v-btn to="/logs">Show Logs</v-btn>
<div style="margin-top: 5em; color: #999; font-size: 0.75em;">
<div style="font-size: 1.4em;">Error Information</div>
<div>Code: {{ error.statusCode }}</div>
<div>Path: {{ this.$route.fullPath }}</div>
</div>
2022-03-04 14:32:09 +00:00
</center>
2022-01-24 22:56:57 +00:00
</v-app>
</template>
<script>
export default {
layout: 'empty',
props: {
error: {
type: Object,
default: null
}
}
}
</script>