@palbase/backend 40.0.3 → 40.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@ import {
3
3
  BootRefused,
4
4
  createApp,
5
5
  loadConfig
6
- } from "../chunk-AS2HDWVQ.js";
6
+ } from "../chunk-YORFZMAK.js";
7
7
  import "../chunk-RA7KFELX.js";
8
8
  import "../chunk-GHNC2UHS.js";
9
9
  import "../chunk-XZWOMPD3.js";
@@ -3824,7 +3824,7 @@ function diagnosingDriver(sql, surface = "service") {
3824
3824
  const original = /* @__PURE__ */ __name((e) => String(e?.message ?? e), "original");
3825
3825
  const explain = /* @__PURE__ */ __name((e) => {
3826
3826
  if (isAbortedTransaction(e)) {
3827
- return new Error(`This request cannot write any more: an earlier write in it failed, and a request runs in ONE Postgres transaction, so every statement after the failure is refused. Nothing here is retryable in place. Wrap a write you expect to fail in \`Database.$attempt(async (tx) => \u2026)\` \u2014 it takes a SAVEPOINT, so only that write rolls back \u2014 or use \`Database.public.<t>.upsert(data, { onConflict: [...] })\` when the failure you were bracing for is a duplicate row. (${original(e)})`);
3827
+ return new Error(`This request cannot write any more: an earlier write in it failed, and a request runs in ONE Postgres transaction, so every statement after the failure is refused. Nothing here is retryable in place. Wrap a write you expect to fail in \`Database.$attempt(async (tx) => \u2026)\` \u2014 it takes a SAVEPOINT, so only that write rolls back \u2014 or use \`Database.public.<t>.put({ data, onConflict: [...] })\` when the failure you were bracing for is a duplicate row. (${original(e)})`);
3828
3828
  }
3829
3829
  if (isUniqueViolation(e)) {
3830
3830
  return markEngineRaised(new UniqueViolation(constraintOf(e)));
@@ -5594,4 +5594,4 @@ export {
5594
5594
  installEgressFence,
5595
5595
  createApp
5596
5596
  };
5597
- //# sourceMappingURL=chunk-AS2HDWVQ.js.map
5597
+ //# sourceMappingURL=chunk-YORFZMAK.js.map