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

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: Make all implementations implement, not extend, the exposed type. 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
Index: corelib/src/errors.dart
diff --git a/corelib/src/errors.dart b/corelib/src/errors.dart
index 265f657914fc52e7eb37da97c4524ca3b01cb67d..54223dd1ce77aae0e06ddb69629b6f2bf8b8f229 100644
--- a/corelib/src/errors.dart
+++ b/corelib/src/errors.dart
@@ -4,3 +4,9 @@
class AssertionError {
}
+
+class TypeError extends AssertionError {
+}
+
+class CastException extends TypeError {
+}
« no previous file with comments | « no previous file | lib/compiler/implementation/lib/js_helper.dart » ('j') | lib/compiler/implementation/lib/mock.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698