Failed

data class Failed(remoteFailureCode: Int?, details: String, completedAt: Long) : OutgoingPayment.Part.Status

Parameters

remoteFailureCode

Bolt4 failure code when the failure came from a remote node (see FailureMessage). If null this was a local error (channel unavailable for low-level technical reasons).

Constructors

Failed
Link copied to clipboard
common
fun Failed(remoteFailureCode: Int?, details: String, completedAt: Long = currentTimestampMillis())

Functions

isLocalFailure
Link copied to clipboard
common
fun isLocalFailure(): Boolean

Properties

completedAt
Link copied to clipboard
common
val completedAt: Long
details
Link copied to clipboard
common
val details: String
remoteFailureCode
Link copied to clipboard
common
val remoteFailureCode: Int?