net-server-events-error
v0.1.1
Published
a net.Server event handler for the error event
Downloads
1
Maintainers
Readme
net-server-events-error
a net.Server event handler for the error event
table of contents
installation
npm install net-server-events-error
api
/**
* @param {Error} err
* @param {string} err.address
* @param {string} err.code
* @param {string} err.message
* @param {string} err.errno
* @param {number} err.port
* @param {string} err.syscall
*
* @throws {Error}
* @returns {undefined}
*/
function errorEvent( err )
usage
basic
var error = require( 'net-server-event-error' )
var server = https.createServer( ssloptions, app )
server.on( 'error', error )