mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2025-12-23 00:44:26 +01:00
feat: add refund and improve send flow
This commit is contained in:
@@ -18,6 +18,10 @@ sealed class PaymentError with _$PaymentError implements FrbException {
|
||||
const factory PaymentError.insufficientFunds() =
|
||||
PaymentError_InsufficientFunds;
|
||||
const factory PaymentError.alreadyClaimed() = PaymentError_AlreadyClaimed;
|
||||
const factory PaymentError.refunded({
|
||||
required String err,
|
||||
required String txid,
|
||||
}) = PaymentError_Refunded;
|
||||
const factory PaymentError.generic({
|
||||
required String err,
|
||||
}) = PaymentError_Generic;
|
||||
|
||||
Reference in New Issue
Block a user