drugged.js
function done(err) {
    if (err) return handle.error(err);

    // Evaluate all the attach methods
    for (const attachMethod of self.attachMethods) {
      attachMethod.call(handle);
    }

    // No match found, send 404
    if (match.handler === null) {
      err = new Error('Not Found');
      err.statusCode = 404;
      return handle.error(err);
    }

    // match found, relay to HandlerCollection
    match.handler(req.method, handle, match.params, match.splat);
  }
function done(err) {
    if (err) return handle.error(err);

    // Evaluate all the attach methods
    for (const attachMethod of self.attachMethods) {
      attachMethod.call(handle);
    }

    // No match found, send 404
    if (match.handler === null) {
      err = new Error('Not Found');
      err.statusCode = 404;
      return handle.error(err);
    }

    // match found, relay to HandlerCollection
    match.handler(req.method, handle, match.params, match.splat);
  }
function done ( err ) { if ( err ) return handle . error ( err ) ; // Evaluate all the attach methods for ( const attachMethod of self . attachMethods ) { attachMethod . call ( handle ) ; } // No match found, send 404 if ( match . handler === null ) { err = new Error ( 'Not Found' ) ; err . statusCode = 404 ; return handle . error ( err ) ; } // match found, relay to HandlerCollection match . handler ( req . method , handle , match . params , match . splat ) ; }
The handle constructor is done
The handle constructor is done