code: def missing_db_response(func):
      
      @wraps(func)
      def with_exception_handling(*args, **kwargs):
          """Wrapper to check for connection failures"""
          try:
              return func(*args, **kwargs)
          except ConnectionError as error:
              return (dict(error='Unable to connect to Configuration Db.',
                           error_message=str(error),
                           links=dict(root='{}'.format(get_root_url()))),
                      HTTPStatus.NOT_FOUND)
      return with_exception_handling
docs: Decorator to check connection exceptions