Optional Readonlypath?: PropertyKey[]Optional Readonlymessage?: stringReadonlycode: "invalid_type"Readonlyexpected: Readonlyinput: unknownOptional Readonlyinst?: The schema or check that originated this issue.
Optional Readonlycontinue?: booleanIf true, Zod will continue executing checks/refinements after this issue.
Optional Readonlypath?: PropertyKey[]Optional Readonlymessage?: stringReadonlycode: "too_big"Readonlyorigin: Readonlymaximum: number | bigintOptional Readonlyinclusive?: booleanOptional Readonlyexact?: booleanReadonlyinput: unknownThe input data
Optional Readonlyinst?: The schema or check that originated this issue.
Optional Readonlycontinue?: booleanIf true, Zod will continue executing checks/refinements after this issue.
Optional Readonlypath?: PropertyKey[]Optional Readonlymessage?: stringReadonlycode: "too_small"Readonlyorigin: Readonlyminimum: number | bigintOptional Readonlyinclusive?: booleanTrue if the allowable range includes the minimum
Optional Readonlyexact?: booleanTrue if the allowed value is fixed (e.g. z.length(5)), not a range (z.minLength(5))
Readonlyinput: unknownThe input data
Optional Readonlyinst?: The schema or check that originated this issue.
Optional Readonlycontinue?: booleanIf true, Zod will continue executing checks/refinements after this issue.
Optional Readonlypath?: PropertyKey[]Optional Readonlymessage?: stringReadonlycode: "invalid_format"Readonlyformat: string & {} | $ZodStringFormatsOptional Readonlypattern?: stringReadonlyinput: undefined | stringThe input data
Optional Readonlyinst?: The schema or check that originated this issue.
Optional Readonlycontinue?: booleanIf true, Zod will continue executing checks/refinements after this issue.
Optional Readonlypath?: PropertyKey[]Optional Readonlymessage?: stringReadonlycode: "not_multiple_of"Readonlydivisor: numberReadonlyinput: undefined | number | bigintThe input data
Optional Readonlyinst?: The schema or check that originated this issue.
Optional Readonlycontinue?: booleanIf true, Zod will continue executing checks/refinements after this issue.
Optional Readonlypath?: PropertyKey[]Optional Readonlymessage?: stringReadonlycode: "unrecognized_keys"Readonlykeys: string[]Readonlyinput: undefined | Record<string, unknown>The input data
Optional Readonlyinst?: The schema or check that originated this issue.
Optional Readonlycontinue?: booleanIf true, Zod will continue executing checks/refinements after this issue.
Optional Readonlypath?: PropertyKey[]Optional Readonlymessage?: stringReadonlycode: "invalid_union"Readonlyerrors: $ZodIssue[][]Readonlyinput: unknownThe input data
Optional Readonlydiscriminator?: stringOptional Readonlyinst?: The schema or check that originated this issue.
Optional Readonlycontinue?: booleanIf true, Zod will continue executing checks/refinements after this issue.
Optional Readonlypath?: PropertyKey[]Optional Readonlymessage?: stringReadonlycode: "invalid_key"Readonlyorigin: "record" | "map"Readonlyissues: $ZodIssue[]Readonlyinput: unknownThe input data
Optional Readonlyinst?: The schema or check that originated this issue.
Optional Readonlycontinue?: booleanIf true, Zod will continue executing checks/refinements after this issue.
Optional Readonlypath?: PropertyKey[]Optional Readonlymessage?: stringReadonlycode: "invalid_element"Readonlyorigin: "map" | "set"Readonlykey: unknownReadonlyissues: $ZodIssue[]Readonlyinput: unknownThe input data
Optional Readonlyinst?: The schema or check that originated this issue.
Optional Readonlycontinue?: booleanIf true, Zod will continue executing checks/refinements after this issue.
Optional Readonlypath?: PropertyKey[]Optional Readonlymessage?: stringReadonlycode: "invalid_value"Readonlyvalues: Primitive[]Readonlyinput: unknownThe input data
Optional Readonlyinst?: The schema or check that originated this issue.
Optional Readonlycontinue?: booleanIf true, Zod will continue executing checks/refinements after this issue.
Optional Readonlypath?: PropertyKey[]Optional Readonlymessage?: stringReadonlycode: "custom"Optional Readonlyparams?: Record<string, any>Readonlyinput: unknownThe input data
Optional Readonlyinst?: The schema or check that originated this issue.
Optional Readonlycontinue?: booleanIf true, Zod will continue executing checks/refinements after this issue.
OptionalabortedA may to mark a whole payload as aborted. Used in codecs/pipes.
The input data