Variable JsonBugErrorSchemaConst
JsonBugErrorSchema: ZodObject<
{
customSections: ZodOptional<
ZodArray<
ZodObject<
{
body: ZodUnion<
[ZodString, ZodArray<ZodArray<ZodString, "many">, "many">],
>;
title: ZodOptional<ZodString>;
},
"strict",
ZodTypeAny,
{ body: string
| string[][]; title?: string },
{ body: string | 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";
},
> = ...