docs: function handleError(res) {
    return function (err) {
      if (err.status && err.name !== 'NotFoundError') {
        // If we're in this block, the error has a defined `status` property and
        // the error should be directed out immediately
        sendDefaultResponseForCode(err.status, err.message, res);
      } else if (err.name === 'NotFoundError' ||
        err.message.indexOf('ENOENT') !== -1 ||
        err.message.indexOf('not found') !== -1) {
        notFound(err, res);
        // if the word "client" is ever in a message, it should be for the client.  We enforce that here.
      } else if (err.message.indexOf('Client') !== -1) {
        clientError(err, res);
      } else {
        serverError(err, res);
      }
    };
  }