Package org.ldk.structs
Class ProbingError
- java.lang.Object
-
- org.ldk.structs.ProbingError
-
- Direct Known Subclasses:
ProbingError.Invoice,ProbingError.Sending
public class ProbingError extends Object
An error that may occur when sending a payment probe.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProbingError.InvoiceAn error resulting from the provided [`Bolt11Invoice`].static classProbingError.SendingAn error occurring when sending a payment probe.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ProbingErrorclone()Creates a copy of the ProbingErrorbooleaneq(ProbingError b)Checks if two ProbingErrors contain equal inner contents.booleanequals(Object o)protected voidfinalize()static ProbingErrorinvoice(String a)Utility method to constructs a new Invoice-variant ProbingErrorstatic ProbingErrorsending(ProbeSendFailure a)Utility method to constructs a new Sending-variant ProbingError
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
clone
public ProbingError clone()
Creates a copy of the ProbingError
-
invoice
public static ProbingError invoice(String a)
Utility method to constructs a new Invoice-variant ProbingError
-
sending
public static ProbingError sending(ProbeSendFailure a)
Utility method to constructs a new Sending-variant ProbingError
-
eq
public boolean eq(ProbingError b)
Checks if two ProbingErrors contain equal inner contents. This ignores pointers and is_owned flags and looks at the values in fields.
-
-