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

Unified Diff: runtime/bin/directory.dart

Issue 10173024: Change the error handling in dart:io (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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 | « runtime/bin/chunked_stream.dart ('k') | runtime/bin/directory_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/directory.dart
diff --git a/runtime/bin/directory.dart b/runtime/bin/directory.dart
index 3a919c7c994211d3e806db438de8ec373cd7c382..050f601e1727cb9eb85db7cfbb9b02c6f9ab458b 100644
--- a/runtime/bin/directory.dart
+++ b/runtime/bin/directory.dart
@@ -135,7 +135,7 @@ interface Directory default _Directory {
* Sets the handler that is called if there is an error while listing
* or creating directories.
*/
- void set onError(void onError(Exception e));
+ void set onError(void onError(e));
/**
* Gets the path of this directory.
« no previous file with comments | « runtime/bin/chunked_stream.dart ('k') | runtime/bin/directory_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698