Permalink
Browse files

closes #14; 'error' event now comes with brand new shiny Error objec…

…t annotated with 'type'
  • Loading branch information...
michelle committed Feb 21, 2013
1 parent ba59b06 commit 10c61ae282adf4a4fd1a586c225df4126869cce6
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/api.md
View
@@ -86,7 +86,7 @@ The `error` object also has a `type` parameter that may be helpful in responding
* `server-error`: Unable to reach the server.
* `socket-error`: An error from the underlying socket.
* `socket-closed`: The underlying socket closed unexpectedly.
-(The Peer object is destroyed after one of the errors above are emitted.)
+* (The Peer object is destroyed after one of the errors above are emitted.)
* `peer-destroyed`: A Peer that has been destroyed is being used to try to connect.
### Event: 'close'

0 comments on commit 10c61ae

Please sign in to comment.