Optional Readonlyinst?: Optional Readonlycontinue?: booleanIf true, Zod will execute subsequent checks/refinements instead of immediately aborting
Optional Readonlypath?: PropertyKey[]Optional Readonlymessage?: stringReadonlycode: "invalid_type"Readonlyexpected: Optional Readonlyinput?: unknownOptional Readonlyinst?: The schema or check that originated this issue.
Optional Readonlycontinue?: booleanIf true, Zod will execute subsequent checks/refinements instead of immediately aborting
Optional Readonlypath?: PropertyKey[]Optional Readonlymessage?: stringReadonlycode: "too_big"Readonlyorigin: Readonlymaximum: number | bigintOptional Readonlyinclusive?: booleanOptional Readonlyexact?: booleanOptional Readonlyinput?: unknownOptional Readonlyinst?: The schema or check that originated this issue.
Optional Readonlycontinue?: booleanIf true, Zod will execute subsequent checks/refinements instead of immediately aborting
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))
Optional Readonlyinput?: unknownOptional Readonlyinst?: The schema or check that originated this issue.
Optional Readonlycontinue?: booleanIf true, Zod will execute subsequent checks/refinements instead of immediately aborting
Optional Readonlypath?: PropertyKey[]Optional Readonlymessage?: stringReadonlycode: "invalid_format"Readonlyformat: string & {} | $ZodStringFormatsOptional Readonlypattern?: stringOptional Readonlyinput?: stringOptional Readonlyinst?: The schema or check that originated this issue.
Optional Readonlycontinue?: booleanIf true, Zod will execute subsequent checks/refinements instead of immediately aborting
Optional Readonlypath?: PropertyKey[]Optional Readonlymessage?: stringReadonlycode: "not_multiple_of"Readonlydivisor: numberOptional Readonlyinput?: number | bigintOptional Readonlyinst?: The schema or check that originated this issue.
Optional Readonlycontinue?: booleanIf true, Zod will execute subsequent checks/refinements instead of immediately aborting
Optional Readonlypath?: PropertyKey[]Optional Readonlymessage?: stringReadonlycode: "unrecognized_keys"Readonlykeys: string[]Optional Readonlyinput?: Record<string, unknown>Optional Readonlyinst?: The schema or check that originated this issue.
Optional Readonlycontinue?: booleanIf true, Zod will execute subsequent checks/refinements instead of immediately aborting
Optional Readonlypath?: PropertyKey[]Optional Readonlymessage?: stringReadonlycode: "invalid_union"Readonlyerrors: $ZodIssue[][]Optional Readonlyinput?: unknownOptional Readonlydiscriminator?: stringOptional Readonlyinst?: The schema or check that originated this issue.
Optional Readonlycontinue?: booleanIf true, Zod will execute subsequent checks/refinements instead of immediately aborting
Optional Readonlypath?: PropertyKey[]Optional Readonlymessage?: stringReadonlycode: "invalid_key"Readonlyorigin: "map" | "record"Readonlyissues: $ZodIssue[]Optional Readonlyinput?: unknownOptional Readonlyinst?: The schema or check that originated this issue.
Optional Readonlycontinue?: booleanIf true, Zod will execute subsequent checks/refinements instead of immediately aborting
Optional Readonlypath?: PropertyKey[]Optional Readonlymessage?: stringReadonlycode: "invalid_element"Readonlyorigin: "map" | "set"Readonlykey: unknownReadonlyissues: $ZodIssue[]Optional Readonlyinput?: unknownOptional Readonlyinst?: The schema or check that originated this issue.
Optional Readonlycontinue?: booleanIf true, Zod will execute subsequent checks/refinements instead of immediately aborting
Optional Readonlypath?: PropertyKey[]Optional Readonlymessage?: stringReadonlycode: "invalid_value"Readonlyvalues: Primitive[]Optional Readonlyinput?: unknownOptional Readonlyinst?: The schema or check that originated this issue.
Optional Readonlycontinue?: booleanIf true, Zod will execute subsequent checks/refinements instead of immediately aborting
Optional Readonlypath?: PropertyKey[]Optional Readonlymessage?: stringReadonlycode: "custom"Optional Readonlyparams?: Record<string, any>Optional Readonlyinput?: unknownOptional Readonlypath?: PropertyKey[]Optional Readonlymessage?: stringReadonlycode: "invalid_type"Readonlyexpected: 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: "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: "map" | "record"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 schema or check that originated this issue.