uniffi_lipalightninglib

Type Alias LnUrlPayError

source
pub type LnUrlPayError = Error<LnUrlPayErrorCode>;

Aliased Type§

enum LnUrlPayError {
    InvalidInput {
        msg: String,
    },
    RuntimeError {
        code: LnUrlPayErrorCode,
        msg: String,
    },
    PermanentFailure {
        msg: String,
    },
}

Variants§

§

InvalidInput

Invalid input. Consider fixing the input and retrying the request.

Fields

§

RuntimeError

Recoverable problem (e.g. network issue, problem with en external service). Consider retrying the request.

§

PermanentFailure

Unrecoverable problem (e.g. internal invariant broken). Consider suggesting the user to report the issue to the developers.

Fields