soonjs 0.0.8 → 0.0.9
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.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -38107,7 +38107,7 @@ class WV {
|
|
|
38107
38107
|
} catch (k) {
|
|
38108
38108
|
c.status = 400;
|
|
38109
38109
|
const E = (b = k == null ? void 0 : k.issues) == null ? void 0 : b[0];
|
|
38110
|
-
throw E && (E.message = (E.path ?? []).join(".") + "
|
|
38110
|
+
throw E && (E.message = (E.path ?? []).join(".") + " " + E.message), E ? { ...E, code: 0 } : new Error("参数错误");
|
|
38111
38111
|
}
|
|
38112
38112
|
else
|
|
38113
38113
|
throw c.status = 500, new Error("bodySchema must be ZodType");
|