mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2025-12-22 00:14:25 +01:00
40 lines
1.6 KiB
Dart
40 lines
1.6 KiB
Dart
// This file is automatically generated, so please do not edit it.
|
|
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.33.
|
|
|
|
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
|
|
|
|
import 'frb_generated.dart';
|
|
import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated.dart';
|
|
import 'package:freezed_annotation/freezed_annotation.dart' hide protected;
|
|
part 'error.freezed.dart';
|
|
|
|
@freezed
|
|
sealed class PaymentError with _$PaymentError implements FrbException {
|
|
const PaymentError._();
|
|
|
|
const factory PaymentError.alreadyClaimed() = PaymentError_AlreadyClaimed;
|
|
const factory PaymentError.amountOutOfRange() = PaymentError_AmountOutOfRange;
|
|
const factory PaymentError.generic({
|
|
required String err,
|
|
}) = PaymentError_Generic;
|
|
const factory PaymentError.invalidOrExpiredFees() = PaymentError_InvalidOrExpiredFees;
|
|
const factory PaymentError.insufficientFunds() = PaymentError_InsufficientFunds;
|
|
const factory PaymentError.invalidInvoice() = PaymentError_InvalidInvoice;
|
|
const factory PaymentError.invalidPreimage() = PaymentError_InvalidPreimage;
|
|
const factory PaymentError.lwkError({
|
|
required String err,
|
|
}) = PaymentError_LwkError;
|
|
const factory PaymentError.pairsNotFound() = PaymentError_PairsNotFound;
|
|
const factory PaymentError.persistError() = PaymentError_PersistError;
|
|
const factory PaymentError.refunded({
|
|
required String err,
|
|
required String txid,
|
|
}) = PaymentError_Refunded;
|
|
const factory PaymentError.sendError({
|
|
required String err,
|
|
}) = PaymentError_SendError;
|
|
const factory PaymentError.signerError({
|
|
required String err,
|
|
}) = PaymentError_SignerError;
|
|
}
|