Variable ZodIssueCodeConst

ZodIssueCode: {
    custom: "custom";
    invalid_arguments: "invalid_arguments";
    invalid_date: "invalid_date";
    invalid_enum_value: "invalid_enum_value";
    invalid_intersection_types: "invalid_intersection_types";
    invalid_literal: "invalid_literal";
    invalid_return_type: "invalid_return_type";
    invalid_string: "invalid_string";
    invalid_type: "invalid_type";
    invalid_union: "invalid_union";
    invalid_union_discriminator: "invalid_union_discriminator";
    not_finite: "not_finite";
    not_multiple_of: "not_multiple_of";
    too_big: "too_big";
    too_small: "too_small";
    unrecognized_keys: "unrecognized_keys";
}

Type declaration

  • custom: "custom"
  • invalid_arguments: "invalid_arguments"
  • invalid_date: "invalid_date"
  • invalid_enum_value: "invalid_enum_value"
  • invalid_intersection_types: "invalid_intersection_types"
  • invalid_literal: "invalid_literal"
  • invalid_return_type: "invalid_return_type"
  • invalid_string: "invalid_string"
  • invalid_type: "invalid_type"
  • invalid_union: "invalid_union"
  • invalid_union_discriminator: "invalid_union_discriminator"
  • not_finite: "not_finite"
  • not_multiple_of: "not_multiple_of"
  • too_big: "too_big"
  • too_small: "too_small"
  • unrecognized_keys: "unrecognized_keys"

Generated using TypeDoc