vibes-diy 14.3.367 → 14.3.369

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.
@@ -12,7 +12,8 @@ export function formatErr(err) {
12
12
  if (errorField && typeof errorField === "object") {
13
13
  const inner = errorField;
14
14
  if (typeof inner.message === "string") {
15
- return typeof inner.code === "string" ? `[${inner.code}] ${inner.message}` : inner.message;
15
+ const text = typeof inner.code === "string" ? `[${inner.code}] ${inner.message}` : inner.message;
16
+ return typeof inner.causeClass === "string" ? `${text} (cause: ${inner.causeClass})` : text;
16
17
  }
17
18
  }
18
19
  const message = err.message;