code: function createInvalidExceptionError(message, value) {
    var err = new Error(message);
    err.code = 'ERR_MOCHA_INVALID_EXCEPTION';
    err.valueType = typeof value;
    err.value = value;
    return err;
  }
docs: Creates an error object to be thrown when an exception was caught, but the `Error` is falsy or undefined.
  
  @public
  @param {string} message - Error message to be displayed.
  @returns {Error} instance detailing the error condition