error handlers uses request.current_route_url() if location is not supplied