part of '../payment_method.dart';

@freezed
sealed class PaymentMethodFailure with _$PaymentMethodFailure {
  const factory PaymentMethodFailure.serverError(ApiFailure failure) =
      _ServerError;
  const factory PaymentMethodFailure.unexpectedError() = _UnexpectedError;
  const factory PaymentMethodFailure.empty() = _Empty;
  const factory PaymentMethodFailure.localStorageError(String erroMessage) =
      _LocalStorageError;
  const factory PaymentMethodFailure.dynamicErrorMessage(String erroMessage) =
      _DynamicErrorMessage;
}
