Skip to content

Commit

Permalink
socket: added missing jsdoc (gross)
Browse files Browse the repository at this point in the history
  • Loading branch information
rauchg committed Oct 11, 2012
1 parent 5856c2c commit 6896442
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/socket.js
Expand Up @@ -98,6 +98,13 @@ Socket.prototype.onPacket = function (packet) {
}
};

/**
* Called upon transport error.
*
* @param {Error} error object
* @api private
*/

Socket.prototype.onError = function (err) {
debug('transport error');
this.onClose('transport error', err);
Expand Down

0 comments on commit 6896442

Please sign in to comment.