InvalidFileSelectionException constructor

InvalidFileSelectionException(
  1. List<String> problems
)

Creates InvalidFileSelectionException with the given problems.

Implementation

InvalidFileSelectionException(List<String> problems) {
  final details = problems.map((problem) => '  • $problem').join('\n');
  super.message = '❌ Unable to analyze the requested file(s):\n$details';
}