code: function NotFoundError(name) {
    Error.call(this);
    Error.captureStackTrace(this, arguments.callee);
    this.name = 'Middleware Not Found Error';
    this.message = name + ' not found in the current stack';
  }
docs: Define an error for middleware not found in the stack