lib/proto.js
function NameError(message) {
  Error.call(this);
  Error.captureStackTrace(this, arguments.callee);
  this.name = 'Middleware Name Error';
  this.message = message || 'The argument must be a named function or supply a name';
}
function NameError(message) {
  Error.call(this);
  Error.captureStackTrace(this, arguments.callee);
  this.name = 'Middleware Name Error';
  this.message = message || 'The argument must be a named function or supply a name';
}
function NameError ( message ) { Error . call ( this ) ; Error . captureStackTrace ( this , arguments . callee ) ; this . name = 'Middleware Name Error' ; this . message = message || 'The argument must be a named function or supply a name' ; }
errors 
Define an error for middleware not being named
errors Define an error for middleware not being named