part of '../order.dart';

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