net-server-events-error

0.1.1 • Public • Published

net-server-events-error

NPM version Build Status Coverage Status NSP Status

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 )

license

MIT License

Package Sidebar

Install

npm i net-server-events-error

Weekly Downloads

1

Version

0.1.1

License

MIT

Unpacked Size

36.9 kB

Total Files

15

Last publish

Collaborators

  • dentous