Skip to content
This repository has been archived by the owner on Apr 5, 2023. It is now read-only.

Commit

Permalink
feat: WACI Issuance failure error screen
Browse files Browse the repository at this point in the history
closes #562

Signed-off-by: talwinder50 <talwinderkaur50@gmail.com>
  • Loading branch information
talwinder50 committed Mar 2, 2022
1 parent c8b721e commit 4b31563
Show file tree
Hide file tree
Showing 4 changed files with 146 additions and 62 deletions.
16 changes: 16 additions & 0 deletions cmd/issuer-adapter-vue/src/pages/GeneralError.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<template>
<div>
<h1>Error Occured</h1>
<p>Error has occured internally while processing the request.
<router-link :to="{name: 'main'}">
Retry
</router-link>
</p>
</div>
</template>

<script>
export default {
name: "GeneralError"
}
</script>
5 changes: 5 additions & 0 deletions cmd/issuer-adapter-vue/src/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ SPDX-License-Identifier: Apache-2.0
import Landing from "@/pages/views/Landing";
import WalletConnect from '@/pages/WalletConnect'
import NotFound from '@/pages/PageNotFound'
import GeneralError from '@/pages/GeneralError'

const routes = [
{
Expand All @@ -22,6 +23,10 @@ const routes = [
}
]
},
{
path: "/ui/error",
component: GeneralError,
},
{
path: '*',
name: 'NotFound',
Expand Down
Loading

0 comments on commit 4b31563

Please sign in to comment.