Uses of Class
org.ldk.structs.SendError
-
Packages that use SendError Package Description org.ldk.structs -
-
Uses of SendError in org.ldk.structs
Subclasses of SendError in org.ldk.structs Modifier and Type Class Description static class
SendError.BlindedPathAdvanceFailed
We attempted to send to a blinded path where we are the introduction node, and failed to advance the blinded path to make the second hop the new introduction node.static class
SendError.BufferFull
Our next-hop peer's buffer was full or our total outbound buffer was full.static class
SendError.GetNodeIdFailed
Failed to retrieve our node id from the provided [`NodeSigner`].static class
SendError.InvalidFirstHop
Our next-hop peer was offline or does not support onion message forwarding.static class
SendError.InvalidMessage
Onion message contents must have a TLV type >= 64.static class
SendError.Secp256k1
Errored computing onion message packet keys.static class
SendError.TooBigPacket
Because implementations such as Eclair will drop onion messages where the message packet exceeds 32834 bytes, we refuse to send messages where the packet exceeds this size.static class
SendError.TooFewBlindedHops
The provided [`Destination`] was an invalid [`BlindedPath`], due to having fewer than two blinded hops.Fields in org.ldk.structs declared as SendError Modifier and Type Field Description SendError
Result_NoneSendErrorZ.Result_NoneSendErrorZ_Err. err
Methods in org.ldk.structs that return SendError Modifier and Type Method Description static SendError
SendError. blinded_path_advance_failed()
Utility method to constructs a new BlindedPathAdvanceFailed-variant SendErrorstatic SendError
SendError. buffer_full()
Utility method to constructs a new BufferFull-variant SendErrorSendError
SendError. clone()
Creates a copy of the SendErrorstatic SendError
SendError. get_node_id_failed()
Utility method to constructs a new GetNodeIdFailed-variant SendErrorstatic SendError
SendError. invalid_first_hop()
Utility method to constructs a new InvalidFirstHop-variant SendErrorstatic SendError
SendError. invalid_message()
Utility method to constructs a new InvalidMessage-variant SendErrorstatic SendError
SendError. secp256k1(Secp256k1Error a)
Utility method to constructs a new Secp256k1-variant SendErrorstatic SendError
SendError. too_big_packet()
Utility method to constructs a new TooBigPacket-variant SendErrorstatic SendError
SendError. too_few_blinded_hops()
Utility method to constructs a new TooFewBlindedHops-variant SendErrorMethods in org.ldk.structs with parameters of type SendError Modifier and Type Method Description boolean
SendError. eq(SendError b)
Checks if two SendErrors contain equal inner contents.static Result_NoneSendErrorZ
Result_NoneSendErrorZ. err(SendError e)
Creates a new CResult_NoneSendErrorZ in the error state.
-