def METHOD_NAME(self, path, error):
    print("report_error %s, %s" % (path, error))
    retry = input("Retry service (yes/no): ")
    if retry == "yes":
        class Retry(dbus.DBusException):
            _dbus_error_name = "net.connman.Agent.Error.Retry"
        raise Retry("retry service")
    return ''