When loading the page, the error page should always be available in case the request for the page fails at the router level.
Right now, if when loading a route, the loading fails, the error page is not available
==Design==
We will create a page template for error pages.
The sizes are very much proportional to special page template.
and as always, we will make this modular.
{F10697654}
Few examples using this template
{F10697666}
{F10697667}
Desktop layout
{F10697671}
Note for designer - Illustration style guide
https://wikimedia.github.io/WikimediaUI-Style-Guide/visual-style_illustrations.html
==Spec==
https://zpl.io/25Ed0qo
https://zpl.io/29qvAZe
=== Buttons ===
Buttons, including all the states etc..., should adhere to the _mobile_ OOJS UI spec (e.g., 16px text, large buttons, ...): https://doc.wikimedia.org/oojs-ui/master/demos/#widgets-mediawiki-ltr. There are no breakpoint differences.
==AC==
[] Error page is bundled statically with index.js
* Use static import on `router/api.ts`
[] Failures on the module loading or the `getInitialProps` loading should redirect to the error page with appropiate status code & message
[] Unknown urls should still render the error page with 404