Package dart:io should document exceptions #44487
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
library-io
type-documentation
A request to add or improve documentation
Hi!
The package dart:io should document exceptions thrown.
E.g. The exception thrown by the code bellow isn't mentioned in documentation comments, and aren't discoverable by looking at the dart implementation of the methods used.
import 'dart:io';
...
var dir = Directory('/Users/Path/To/Folder/That/Dosent/Exist/');
var entityList = dir.listSync(recursive: true, followLinks: false);
...
Thanks
Dart SDK version: 2.10.4 (stable)
MacOS
The text was updated successfully, but these errors were encountered: