"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
function getSafeId(uid, errorMessage) {
  return (value) => {
    if (typeof value !== "string" || value.trim().length === 0) {
      throw new Error(errorMessage);
    }
    return `${uid}-${value}`;
  };
}
exports.getSafeId = getSafeId;
