| Index: sdk/lib/_internal/pub/lib/src/utils.dart
|
| diff --git a/sdk/lib/_internal/pub/lib/src/utils.dart b/sdk/lib/_internal/pub/lib/src/utils.dart
|
| index 392310b9c290aac3539ccff3bb4074c0556e93e8..8fab364e61e18389b7ef7b6868c89604a7f54983 100644
|
| --- a/sdk/lib/_internal/pub/lib/src/utils.dart
|
| +++ b/sdk/lib/_internal/pub/lib/src/utils.dart
|
| @@ -713,9 +713,8 @@ final _userFacingExceptions = new Set<String>.from([
|
| // invalid import.
|
| 'IsolateSpawnException',
|
| // TODO(nweiz): clean up the dart:io errors when issue 9955 is fixed.
|
| - 'DirectoryException', 'FileException', 'HttpException', 'HttpException',
|
| - 'LinkException', 'OSError', 'ProcessException', 'SocketException',
|
| - 'WebSocketException'
|
| + 'FileSystemException', 'HttpException', 'HttpException', 'OSError',
|
| + 'ProcessException', 'SocketException', 'WebSocketException'
|
| ]);
|
|
|
| /// Returns whether [error] is a user-facing error object. This includes both
|
| @@ -731,11 +730,9 @@ bool isUserFacingException(error) {
|
| error is AnalyzerError ||
|
| error is AnalyzerErrorGroup ||
|
| error is IsolateSpawnException ||
|
| - error is DirectoryException ||
|
| - error is FileException ||
|
| + error is FileSystemException ||
|
| error is HttpException ||
|
| error is HttpException ||
|
| - error is LinkException ||
|
| error is OSError ||
|
| error is ProcessException ||
|
| error is SocketException ||
|
|
|