Creating a route to the error page.