Skip to main content

Variable: ZodIssueCode

const ZodIssueCode: object

Defined in: packages/agentos/node_modules/zod/v4/classic/compat.d.cts:11

Type Declaration

custom

readonly custom: "custom"

invalid_element

readonly invalid_element: "invalid_element"

invalid_format

readonly invalid_format: "invalid_format"

invalid_key

readonly invalid_key: "invalid_key"

invalid_type

readonly invalid_type: "invalid_type"

invalid_union

readonly invalid_union: "invalid_union"

invalid_value

readonly invalid_value: "invalid_value"

not_multiple_of

readonly not_multiple_of: "not_multiple_of"

too_big

readonly too_big: "too_big"

too_small

readonly too_small: "too_small"

unrecognized_keys

readonly unrecognized_keys: "unrecognized_keys"

Deprecated

Use the raw string literal codes instead, e.g. "invalid_type".