lib/app.js
function handleRequestNotFound(req, res, next) {
    if (typeof req.uniqueId === 'undefined') {
      if(uniqueRequestId >= MAX_REQUEST_ID) {
        uniqueRequestId = 0;
      }
      req.uniqueId = ++uniqueRequestId;
    }
    req.startAt = Date.now();
    let msg = 'The requested resource was not found';
    if (this[config].actionPath !== req.url) {
      msg += `: ${req.method} ${req.url}`;
    } else if (req._actionType) {
      msg += ': ' + req._actionType;
    }
    return next(thorin.error('TRANSPORT.NOT_FOUND', msg, 404));
  }
function handleRequestNotFound(req, res, next) {
    if (typeof req.uniqueId === 'undefined') {
      if(uniqueRequestId >= MAX_REQUEST_ID) {
        uniqueRequestId = 0;
      }
      req.uniqueId = ++uniqueRequestId;
    }
    req.startAt = Date.now();
    let msg = 'The requested resource was not found';
    if (this[config].actionPath !== req.url) {
      msg += `: ${req.method} ${req.url}`;
    } else if (req._actionType) {
      msg += ': ' + req._actionType;
    }
    return next(thorin.error('TRANSPORT.NOT_FOUND', msg, 404));
  }
/* Handles the Not Found error