part of '../user.dart';

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