[C#] Update auto-generated bindings to LDK-C-Bindings 0.0.123.1
[ldk-java] / c_sharp / src / org / ldk / structs / PeerHandleError.cs
index 3085dee7cb8f946230cbcb1ef95268de706915c6..6fa6e50edc11dd7091f70393e32c2962221a80ca 100644 (file)
@@ -46,5 +46,16 @@ public class PeerHandleError : CommonBase {
                return ret_hu_conv;
        }
 
+       /**
+        * Get the string representation of a PeerHandleError object
+        */
+       public string to_str() {
+               long ret = bindings.PeerHandleError_to_str(this.ptr);
+               GC.KeepAlive(this);
+               if (ret >= 0 && ret <= 4096) { return null; }
+               string ret_conv = InternalUtils.decodeString(ret);
+               return ret_conv;
+       }
+
 }
 } } }