bcgov / bcgov/SIMS

Global error handling on Vue application

Open
#2,427 0 comments 0 reactions 1 assignee Claimed by @ninosamson View on GitHub
Business Task
Dominant language
TypeScript
Stars
29
Forks
15
PR merge metrics
No merged PRs in 30d

Description

**User story:** As a SIMS team, we need to have global error handling across the application so that users have better indication when unexpected errors occur.

**Acceptance Criteria**

- [ ] Named errors (ApiProcessError)
- [ ] 503 - maintenance page
- [ ] Any other should be considered a business error for the application to process.
- [ ] Non-named errors (ApiProcessError)
- [ ] Create a new page, if not exist yet, for redirecting unexpected. Reuse some of the Figma images, as already done for 403 and 404.
- [ ] 503 - server unavailable, redirect unexpected.
- [ ] 404, 403, redirect to specific page.
- [ ] When the token expires, redirect to the client-specific login page.
- [ ] Any other HTTP error redirects to unexpected.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.