DotNetLightning


PaymentFailure Type

Union cases

Union case Description

LocalFailure ChannelError

Full Usage: LocalFailure ChannelError

Parameters:

A failure happened locally, preventing the payment from being sent (e.g. no route found)

Item : ChannelError

RemoteFailure(route, err)

Full Usage: RemoteFailure(route, err)

Parameters:

A remote node failed the payment and we were able to decrypt the onion failure packet

route : RouteHop list
err : ErrorPacket

UnreadableRemoteFailure route

Full Usage: UnreadableRemoteFailure route

Parameters:

A remote node failed the payment but we couldn't decrypt the failure (e.g. a malicious node tampered with the message)

route : RouteHop list