part of '../table.dart';

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