We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b32acda + f204cec commit 3db21e6Copy full SHA for 3db21e6
src/core/path-params.ts
@@ -11,6 +11,6 @@ export default function parsePathParams<I, O>(source?: I, schema?: ZodType<O, Zo
11
// eslint-disable-next-line no-console
12
console.log((error as ZodError).issues);
13
}
14
- throw new Error("PARSE_PATH_PARAMS");
+ throw new Error("PARSE_PATH_PARAMS", { cause: (error as ZodError).issues });
15
16
0 commit comments