mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2025-12-22 16:34:23 +01:00
Move dart & flutter packages to packages folder on root
This commit is contained in:
33
packages/dart/lib/src/error.dart
Normal file
33
packages/dart/lib/src/error.dart
Normal file
@@ -0,0 +1,33 @@
|
||||
// This file is automatically generated, so please do not edit it.
|
||||
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.32.
|
||||
|
||||
// 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.amountOutOfRange() = PaymentError_AmountOutOfRange;
|
||||
const factory PaymentError.alreadyClaimed() = PaymentError_AlreadyClaimed;
|
||||
const factory PaymentError.generic({
|
||||
required String err,
|
||||
}) = PaymentError_Generic;
|
||||
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.sendError({
|
||||
required String err,
|
||||
}) = PaymentError_SendError;
|
||||
const factory PaymentError.signerError({
|
||||
required String err,
|
||||
}) = PaymentError_SignerError;
|
||||
}
|
||||
Reference in New Issue
Block a user