| Index: mojo/public/dart/src/interface.dart
|
| diff --git a/mojo/public/dart/src/interface.dart b/mojo/public/dart/src/interface.dart
|
| index eab591ee8e3cc1770c8efd164d08deb439ddbddc..0e73214505018c03387ec75de810063470aff139 100644
|
| --- a/mojo/public/dart/src/interface.dart
|
| +++ b/mojo/public/dart/src/interface.dart
|
| @@ -10,7 +10,9 @@ abstract class Interface extends core.MojoEventStreamListener {
|
|
|
| Interface(core.MojoMessagePipeEndpoint endpoint) : super(endpoint);
|
|
|
| - Interface.fromHandle(int handle) : super.fromHandle(handle);
|
| + Interface.fromHandle(core.MojoHandle handle) : super.fromHandle(handle);
|
| +
|
| + Interface.unbound() : super.unbound();
|
|
|
| Future<Message> handleMessage(ServiceMessage message);
|
|
|
| @@ -91,7 +93,7 @@ abstract class Interface extends core.MojoEventStreamListener {
|
| serviceMessage.buffer.lengthInBytes,
|
| serviceMessage.handles);
|
| if (!endpoint.status.isOk) {
|
| - throw "message pipe write failed";
|
| + throw "message pipe write failed: ${endpoint.status}";
|
| }
|
| }
|
|
|
|
|