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

Unified Diff: third_party/pkg/di/lib/errors.dart

Issue 107003007: Adding Angular's DI package & Dart unittests which test it. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years 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: third_party/pkg/di/lib/errors.dart
diff --git a/third_party/pkg/di/lib/errors.dart b/third_party/pkg/di/lib/errors.dart
new file mode 100644
index 0000000000000000000000000000000000000000..8967d0e519f40888e69fca93c9c0b9def77d558b
--- /dev/null
+++ b/third_party/pkg/di/lib/errors.dart
@@ -0,0 +1,9 @@
+part of di;
+
+class NoProviderError extends ArgumentError {
+ NoProviderError(message) : super(message);
+}
+
+class CircularDependencyError extends ArgumentError {
+ CircularDependencyError(message) : super(message);
+}

Powered by Google App Engine
This is Rietveld 408576698