if (raw_val instanceof bindings.LDKErrorAction.IgnoreError) {
return new IgnoreError(this.ptr, raw_val);
}
+ if (raw_val instanceof bindings.LDKErrorAction.IgnoreAndLog) {
+ return new IgnoreAndLog(this.ptr, raw_val);
+ }
if (raw_val instanceof bindings.LDKErrorAction.SendErrorMessage) {
return new SendErrorMessage(this.ptr, raw_val);
}
super(null, ptr);
}
}
+export class IgnoreAndLog extends ErrorAction {
+ public ignore_and_log: Level;
+ private constructor(ptr: number, obj: bindings.LDKErrorAction.IgnoreAndLog) {
+ super(null, ptr);
+ this.ignore_and_log = obj.ignore_and_log;
+ }
+}
export class SendErrorMessage extends ErrorAction {
public msg: ErrorMessage;
private constructor(ptr: number, obj: bindings.LDKErrorAction.SendErrorMessage) {