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

Unified Diff: runtime/bin/directory.dart

Issue 8934004: Add support for getting OS error information for creating temporary directories (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Added path to exception messages Created 9 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
« no previous file with comments | « runtime/bin/directory.cc ('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 222b3de471b3ebd5ca60ca1ca5cc8b2a5e115a78..acdcd09444312e0f95e231102ee08d697700ee9c 100644
--- a/runtime/bin/directory.dart
+++ b/runtime/bin/directory.dart
@@ -101,7 +101,8 @@ interface Directory factory _Directory {
class DirectoryException {
- const DirectoryException(String this.message);
+ const DirectoryException([String this.message, int this.errorCode = 0]);
String toString() => "DirectoryException: $message";
final String message;
+ final int errorCode;
}
« no previous file with comments | « runtime/bin/directory.cc ('k') | runtime/bin/directory_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698