Class PaymentSendFailure.PartialFailure

  • Enclosing class:
    PaymentSendFailure

    public static final class PaymentSendFailure.PartialFailure
    extends PaymentSendFailure
    Some paths that were attempted failed to send, though some paths may have succeeded. At least some paths have irrevocably committed to the HTLC. The results here are ordered the same as the paths in the route object that was passed to send_payment. Any entries that contain `Err(APIError::MonitorUpdateInprogress)` will send once a [`MonitorEvent::Completed`] is provided for the next-hop channel with the latest update_id. [`MonitorEvent::Completed`]: crate::chain::channelmonitor::MonitorEvent::Completed
    • Field Detail

      • results

        public final Result_NoneAPIErrorZ[] results
        The errors themselves, in the same order as the paths from the route.
      • failed_paths_retry

        @Nullable
        public final RouteParameters failed_paths_retry
        If some paths failed without irrevocably committing to the new HTLC(s), this will contain a [`RouteParameters`] object for the failing paths. Note that this (or a relevant inner pointer) may be NULL or all-0s to represent None
      • payment_id

        public final byte[] payment_id
        The payment id for the payment, which is now at least partially pending.