Chromium Code Reviews| Index: sdk/lib/io/common.dart |
| diff --git a/sdk/lib/io/common.dart b/sdk/lib/io/common.dart |
| index 6258bcf9090372ec7f3b8b97dc5456bf464ede74..5ef4594af844d2e5b78e99f5c3ea0a062149c398 100644 |
| --- a/sdk/lib/io/common.dart |
| +++ b/sdk/lib/io/common.dart |
| @@ -26,7 +26,7 @@ _exceptionFromResponse(response, String message, String path) { |
| assert(_isErrorResponse(response)); |
| switch (response[_ERROR_RESPONSE_ERROR_TYPE]) { |
| case _ILLEGAL_ARGUMENT_RESPONSE: |
| - return new ArgumentError(); |
| + return new ArgumentError("$message: $path"); |
|
Lasse Reichstein Nielsen
2017/02/09 15:28:03
I'm not sure this is really an argument error.
On
zra
2017/02/09 17:21:38
Acknowledged.
|
| case _OSERROR_RESPONSE: |
| var err = new OSError(response[_OSERROR_RESPONSE_MESSAGE], |
| response[_OSERROR_RESPONSE_ERROR_CODE]); |