import 'package:freezed_annotation/freezed_annotation.dart';

part 'loading_error.freezed.dart';

@freezed
abstract class LoadingError with _$LoadingError {
  const factory LoadingError({
    required String message,
    String? technicalDetails,
    @Default(false) bool allowRetry,
  }) = _LoadingError;
}
