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

Unified Diff: corelib/src/errors.dart

Issue 10896007: Expose remaining 'errors' in an unified dart:core. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Move errors to errors.dart in dart2js. Created 8 years, 4 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 | lib/compiler/implementation/lib/core.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: corelib/src/errors.dart
diff --git a/corelib/src/errors.dart b/corelib/src/errors.dart
index 265f657914fc52e7eb37da97c4524ca3b01cb67d..0954b3a19102fd3149d66398ee5d1370766c0fe7 100644
--- a/corelib/src/errors.dart
+++ b/corelib/src/errors.dart
@@ -4,3 +4,13 @@
class AssertionError {
}
+
+class TypeError extends AssertionError {
+}
+
+class CastException extends TypeError {
+}
+
+class FallThroughError {
+ const FallThroughError();
+}
« no previous file with comments | « no previous file | lib/compiler/implementation/lib/core.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698