function formatErrorMessage(code, ...args) {
  const url = new URL(`https://base-ui.com/production-error/${code}`);
  args.forEach((arg) => url.searchParams.append("args[]", arg));
  return `Base UI error #${code}; visit ${url} for the full message.`;
}
export {
  formatErrorMessage as default
};
//# sourceMappingURL=formatErrorMessage.js.map
