Update java bindings with new generator and new upstream code
[ldk-java] / src / main / java / org / ldk / structs / MonitorUpdateError.java
index 419e0160094086a029e9f887091025d937220761..6c6c278318f78275a1e7bb572bfa274296d976e3 100644 (file)
@@ -5,6 +5,14 @@ import org.ldk.enums.*;
 import org.ldk.util.*;
 import java.util.Arrays;
 
+
+/**
+ * General Err type for ChannelMonitor actions. Generally, this implies that the data provided is
+ * inconsistent with the ChannelMonitor being called. eg for ChannelMonitor::update_monitor this
+ * means you tried to update a monitor for a different channel or the ChannelMonitorUpdate was
+ * corrupted.
+ * Contains a developer-readable error message.
+ */
 @SuppressWarnings("unchecked") // We correctly assign various generic arrays
 public class MonitorUpdateError extends CommonBase {
        MonitorUpdateError(Object _dummy, long ptr) { super(ptr); }
@@ -14,6 +22,9 @@ public class MonitorUpdateError extends CommonBase {
                if (ptr != 0) { bindings.MonitorUpdateError_free(ptr); }
        }
 
+       /**
+        * Creates a copy of the MonitorUpdateError
+        */
        public MonitorUpdateError clone() {
                long ret = bindings.MonitorUpdateError_clone(this.ptr);
                MonitorUpdateError ret_hu_conv = new MonitorUpdateError(null, ret);