code: function verifyTransactionName(name) {
  	if (typeof name !== 'string' || name.length === 0) {
  		const msg = util.format('Transaction name must be a non-empty string: %j', name);
  		logger.error('verifyTransactionName:', msg);
  		throw new Error(msg);
  	}
  }
docs: Ensure transaction name is a non-empty string.
  @private
  @param {*} name Transaction name.
  @throws {Error} if the name is invalid.