part of '../product.dart';

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