[Modify] Polish it
This commit is contained in:
parent
838e01d6e1
commit
d058df9b1e
@ -349,7 +349,7 @@ namespace WebSocketSharp
|
|||||||
string msg = null;
|
string msg = null;
|
||||||
|
|
||||||
if (!_client) {
|
if (!_client) {
|
||||||
msg = "The set operation cannot be used by servers.";
|
msg = "This instance is not a client.";
|
||||||
throw new InvalidOperationException (msg);
|
throw new InvalidOperationException (msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user