part of '../printer.dart';

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