Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/cav/test/test_deps.ts>zod.z.ZodError

A server framework for Deno
Go to Latest
class zod.z.ZodError
extends Error
Re-export
import { zod } from "https://deno.land/x/cav@0.0.24/test/test_deps.ts";
const { ZodError } = zod.z;

Constructors

new
ZodError(issues: ZodIssue[])

Type Parameters

optional
T = any

Properties

addIssue: (sub: ZodIssue) => unknown
addIssues: (subs?: ZodIssue[]) => unknown
readonly
errors
readonly
formErrors
readonly
isEmpty: boolean
issues: ZodIssue[]
readonly
message

Static Properties

create: (issues: ZodIssue[]) => unknown