LocusError.networkError constructor

LocusError.networkError({
  1. String? message,
  2. Object? originalError,
})

Network error during sync.

Implementation

factory LocusError.networkError({String? message, Object? originalError}) =>
    LocusError(
      type: LocusErrorType.networkError,
      message: message ?? 'Network error during sync',
      originalError: originalError,
      isRecoverable: true,
      suggestedRecovery: RecoveryAction.retry,
    );