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

Unified Diff: runtime/bin/file_impl.dart

Issue 10361003: Fix inconsistent file error messages. (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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/file_impl.dart
diff --git a/runtime/bin/file_impl.dart b/runtime/bin/file_impl.dart
index 8db0f5a26b2c5f43b5b4440812b858afd5567917..40dbe5a106597ace0cf54e6fddfec67c3397a595 100644
--- a/runtime/bin/file_impl.dart
+++ b/runtime/bin/file_impl.dart
@@ -419,7 +419,7 @@ class _File extends _FileBase implements File {
request[1] = _name;
_fileService.call(request).then((response) {
if (_isErrorResponse(response)) {
- _handleErrorResponse(response, "Cannot open file $_name");
+ _handleErrorResponse(response, "Cannot open file '$_name'");
} else {
callback(response);
}
@@ -502,7 +502,7 @@ class _File extends _FileBase implements File {
request[2] = mode._mode; // Direct int value for serialization.
_fileService.call(request).then((response) {
if (_isErrorResponse(response)) {
- _handleErrorResponse(response, "Cannot open file $_name");
+ _handleErrorResponse(response, "Cannot open file '$_name'");
} else {
callback(new _RandomAccessFile(response, _name));
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698