super(null, ptr);
const path_parameter_error: number = bindings.LDKPaymentSendFailure_PathParameterError_get_path_parameter_error(ptr);
const path_parameter_error_conv_22_len: number = bindings.getArrayLength(path_parameter_error);
const path_parameter_error_conv_22_arr: Result_NoneAPIErrorZ[] = new Array(path_parameter_error_conv_22_len).fill(null);
for (var w = 0; w < path_parameter_error_conv_22_len; w++) {
super(null, ptr);
const path_parameter_error: number = bindings.LDKPaymentSendFailure_PathParameterError_get_path_parameter_error(ptr);
const path_parameter_error_conv_22_len: number = bindings.getArrayLength(path_parameter_error);
const path_parameter_error_conv_22_arr: Result_NoneAPIErrorZ[] = new Array(path_parameter_error_conv_22_len).fill(null);
for (var w = 0; w < path_parameter_error_conv_22_len; w++) {