FileSystemError.tooLarge constructor

FileSystemError.tooLarge(
  1. String path,
  2. int size
)

Implementation

factory FileSystemError.tooLarge(String path, int size) => FileSystemError(
  message: 'File too large: $path (${_formatBytes(size)})',
  path: path,
  operation: 'read',
  errorId: 'file_too_large',
  suggestion: 'Read specific sections with offset and limit.',
);