Render error page and not found page in development mode