error view rather than error route.
fixes #1813