Quellcode durchsuchen

closes #14; 'error' event now comes with brand new shiny Error object annotated with 'type'

Michelle Bu vor 12 Jahren
Ursprung
Commit
10c61ae282
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      docs/api.md

+ 1 - 1
docs/api.md

@@ -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'