Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1444)

Unified Diff: sdk/lib/_internal/pub/lib/src/exceptions.dart

Issue 425363003: Mark GitExceptions as expected in pub. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix missing imports Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sdk/lib/_internal/pub/lib/src/git.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/pub/lib/src/exceptions.dart
diff --git a/sdk/lib/_internal/pub/lib/src/exceptions.dart b/sdk/lib/_internal/pub/lib/src/exceptions.dart
index fc83c0c3c538b75c0ab472fc7c93bee298605535..3f287f0c4c83d08f64e1b5010a28a80ab452259b 100644
--- a/sdk/lib/_internal/pub/lib/src/exceptions.dart
+++ b/sdk/lib/_internal/pub/lib/src/exceptions.dart
@@ -92,7 +92,7 @@ class PackageNotFoundException extends WrappedException {
/// All the names of user-facing exceptions.
final _userFacingExceptions = new Set<String>.from([
- 'ApplicationException',
+ 'ApplicationException', 'GitException',
// This refers to http.ClientException.
'ClientException',
// Errors coming from the Dart analyzer are probably caused by syntax errors
« no previous file with comments | « no previous file | sdk/lib/_internal/pub/lib/src/git.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698