consistent error handling through the route->app controller-> view framework