function NotFoundError(message) {
  this.name = 'Not found';
  this.message = message || '';
  this.status = 404;
}

NotFoundError.prototype = Error.prototype;

module.exports = NotFoundError;
function NotFoundError(message) {
  this.name = 'Not found';
  this.message = message || 'Not found';
  this.status = 404;
}

NotFoundError.prototype = Error.prototype;

module.exports = NotFoundError;
Add a 'not found' message to not found error