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 befd57cc450b6483276c01067262101933a34a43..c67ce5720ec48ecdfaf1757c520407d16ac06c7f 100644 |
--- a/sdk/lib/_internal/pub/lib/src/utils.dart |
+++ b/sdk/lib/_internal/pub/lib/src/utils.dart |
@@ -529,14 +529,14 @@ void fail(String message) { |
bool isUserFacingException(error) { |
return error is ApplicationException || |
// TODO(nweiz): clean up this branch when issue 9955 is fixed. |
- error is DirectoryIOException || |
- error is FileIOException || |
+ error is DirectoryException || |
+ error is FileException || |
error is HttpException || |
- error is HttpParserException || |
- error is LinkIOException || |
+ error is HttpException || |
+ error is LinkException || |
error is MimeMultipartException || |
error is OSError || |
error is ProcessException || |
- error is SocketIOException || |
+ error is SocketException || |
error is WebSocketException; |
} |