| Index: sdk/lib/io/stdio.dart
|
| diff --git a/sdk/lib/io/stdio.dart b/sdk/lib/io/stdio.dart
|
| index 67f4370b16dec3ff489f4fb7d92b124efd3067d1..35560a9ff2d5d1759e0509b6e6677df0cf18ea12 100644
|
| --- a/sdk/lib/io/stdio.dart
|
| +++ b/sdk/lib/io/stdio.dart
|
| @@ -216,6 +216,19 @@ class StdoutException implements IOException {
|
| }
|
| }
|
|
|
| +
|
| +class StdinException implements IOException {
|
| + final String message;
|
| + final OSError osError;
|
| +
|
| + const StdinException(this.message, [this.osError]);
|
| +
|
| + String toString() {
|
| + return "StdinException: $message${osError == null ? "" : ", $osError"}";
|
| + }
|
| +}
|
| +
|
| +
|
| class _StdConsumer implements StreamConsumer<List<int>> {
|
| final _file;
|
|
|
|
|