-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Labels
type: enhancementA new feature or addition.A new feature or addition.
Description
It seems there is no way to attach error handlers to HTTP servers. Am I missing something?
E.g. the equivalent of the following JS:
var s = http.createServer(h);
s.on('error', function(err) { console.log('oops!', err); });
s.listen(9000); // in case of failure, will call the above callback
Metadata
Metadata
Assignees
Labels
type: enhancementA new feature or addition.A new feature or addition.