Frontend error page testing
The Perps frontend has a number of different full-screen error-like pages. To ease development and QA, on non-production builds, we provide paths that simulated these errors so the page can be viewed.
| Type | URL | Explanation |
|---|---|---|
| Geoblocked | https://develop.staff.levana.exchange/test-error-page/geoblocked | Based on your IP address and location, you cannot access the site |
| Loading | https://develop.staff.levana.exchange/test-error-page/loading | Displayed while initial data is being loaded from the network |
| Not found | https://develop.staff.levana.exchange/test-error-page/not-found | Shown when the URL is invalid |
| Maintenance | https://develop.staff.levana.exchange/test-error-page/maintenance | Maintenance page is used when we need to turn off the perps site temporarily |
| Network data error | https://develop.staff.levana.exchange/test-error-page/network-data-error | Data needed to load the page could not be fetched over the network |
| Root error | https://develop.staff.levana.exchange/test-error-page/root-error | A page that should hopefully never display, it means that an error was not caught and bubbled up to the root of the application. This always indicates some kind of bug in the application code, at the very least it should be handled more gracefully such as a network data error. |