part of '../analytic.dart';

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