Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
class ZodError
extends Error
Re-export
import { ZodError } from "https://deno.land/x/netzo@0.3.66/deps/zod/mod.ts";

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