From b4e08fe43dddcc0e6b69550ade03e86cbf7a3b8a Mon Sep 17 00:00:00 2001 From: sta Date: Thu, 27 Nov 2014 14:36:42 +0900 Subject: [PATCH] Modified a few for 'WebSocket.OnError Event' --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 356db1c7..c97836b6 100644 --- a/README.md +++ b/README.md @@ -170,9 +170,9 @@ ws.OnError += (sender, e) => { `e` has passed as a `WebSocketSharp.ErrorEventArgs`. -`e.Message` property returns a `string` that represents the error message. So you should use it to get the error message. +`e.Message` property returns a `string` that represents the error message. -And if the error is due to an exception, you can get a `System.Exception` instance that caused the error, by using `e.Exception` property. +If the error is due to an exception, you can get a `System.Exception` instance that caused the error, by using `e.Exception` property. ##### WebSocket.OnClose Event #####