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

Unified Diff: runtime/bin/process.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/output_stream.dart ('k') | runtime/bin/process_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/process.dart
diff --git a/runtime/bin/process.dart b/runtime/bin/process.dart
index 182c39daea8412bbd291bc15840acebe47b494df..351465847f6efada58150c04bd14f73ae7b73d22 100644
--- a/runtime/bin/process.dart
+++ b/runtime/bin/process.dart
@@ -87,7 +87,7 @@ interface Process default _Process {
* Set an error handler which gets invoked if an operation on the process
* fails.
*/
- void set onError(void callback(ProcessException error));
+ void set onError(void callback(e));
/**
* Kills the process. When the process terminates as a result of
« no previous file with comments | « runtime/bin/output_stream.dart ('k') | runtime/bin/process_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698