Skip to main content

Module: error

Classes

Type Aliases

ValidationErrorOptions

Ƭ ValidationErrorOptions: Object

Type declaration

NameType
pathstring[]
codestring
messagestring

Defined in

src/error.ts:3


ParseErrorOptions

Ƭ ParseErrorOptions: Object

Type declaration

NameType
pathstring[]
codestring
messagestring
received?unknown

Defined in

src/error.ts:24

Functions

isZodError

isZodError(e): e is ZodError<any>

Parameters

NameType
eunknown

Returns

e is ZodError<any>

Defined in

src/error.ts:56