| Index: runtime/bin/socket.dart
|
| diff --git a/runtime/bin/socket.dart b/runtime/bin/socket.dart
|
| index e8b53bd9664d9bbbb261e14c35848a341cae0a91..6c1b49de72023eb589f700e411cf0b33e570d452 100644
|
| --- a/runtime/bin/socket.dart
|
| +++ b/runtime/bin/socket.dart
|
| @@ -18,7 +18,7 @@ interface ServerSocket default _ServerSocket {
|
| /**
|
| * The error handler gets called when a socket error occurs.
|
| */
|
| - void set onError(void callback(Exception e));
|
| + void set onError(void callback(e));
|
|
|
| /**
|
| * Returns the port used by this socket.
|
| @@ -89,7 +89,7 @@ interface Socket extends Hashable default _Socket {
|
| /**
|
| * The error handler gets called when a socket error occurs.
|
| */
|
| - void set onError(void callback(Exception e));
|
| + void set onError(void callback(e));
|
|
|
| /**
|
| * Returns input stream to the socket.
|
|
|