Variable JsonErrorSchemaConst
JsonErrorSchema: ZodUnion<
[
ZodObject<
{
customSections: ZodOptional<
ZodArray<
ZodObject<
{
body: ZodUnion<[ZodString, ZodArray<(...), (...)>]>;
title: ZodOptional<ZodString>;
},
"strict",
ZodTypeAny,
{ body: string
| (...)[][]; title?: string },
{ body: string | (...)[][]; title?: string },
>,
"many",
>,
>;
details: ZodOptional<ZodUnknown>;
message: ZodString;
nextSteps: ZodOptional<ZodArray<ZodString, "many">>;
tryMessage: ZodOptional<ZodString>;
type: ZodLiteral<"abort">;
},
"strict",
ZodTypeAny,
{
customSections?: { body: string
| string[][]; title?: string }[];
details?: unknown;
message: string;
nextSteps?: string[];
tryMessage?: string;
type: "abort";
},
{
customSections?: { body: string
| string[][]; title?: string }[];
details?: unknown;
message: string;
nextSteps?: string[];
tryMessage?: string;
type: "abort";
},
>,
ZodObject<
{
customSections: ZodOptional<
ZodArray<
ZodObject<
{
body: ZodUnion<[ZodString, ZodArray<(...), (...)>]>;
title: ZodOptional<ZodString>;
},
"strict",
ZodTypeAny,
{ body: string
| (...)[][]; title?: string },
{ body: string | (...)[][]; title?: string },
>,
"many",
>,
>;
details: ZodOptional<ZodUnknown>;
message: ZodString;
nextSteps: ZodOptional<ZodArray<ZodString, "many">>;
stack: ZodOptional<ZodString>;
tryMessage: ZodOptional<ZodString>;
type: ZodLiteral<"bug">;
},
"strict",
ZodTypeAny,
{
customSections?: { body: string
| string[][]; title?: string }[];
details?: unknown;
message: string;
nextSteps?: string[];
stack?: string;
tryMessage?: string;
type: "bug";
},
{
customSections?: { body: string
| string[][]; title?: string }[];
details?: unknown;
message: string;
nextSteps?: string[];
stack?: string;
tryMessage?: string;
type: "bug";
},
>,
ZodObject<
{
args: ZodArray<ZodString, "many">;
command: ZodString;
customSections: ZodOptional<
ZodArray<
ZodObject<
{
body: ZodUnion<[ZodString, ZodArray<(...), (...)>]>;
title: ZodOptional<ZodString>;
},
"strict",
ZodTypeAny,
{ body: string
| (...)[][]; title?: string },
{ body: string | (...)[][]; title?: string },
>,
"many",
>,
>;
details: ZodOptional<ZodUnknown>;
message: ZodString;
nextSteps: ZodOptional<ZodArray<ZodString, "many">>;
tryMessage: ZodOptional<ZodString>;
type: ZodLiteral<"external">;
},
"strict",
ZodTypeAny,
{
args: string[];
command: string;
customSections?: { body: string
| string[][]; title?: string }[];
details?: unknown;
message: string;
nextSteps?: string[];
tryMessage?: string;
type: "external";
},
{
args: string[];
command: string;
customSections?: { body: string
| string[][]; title?: string }[];
details?: unknown;
message: string;
nextSteps?: string[];
tryMessage?: string;
type: "external";
},
>,
],
> = ...