Module: error
Classes
Type Aliases
ValidationErrorOptions
Ƭ ValidationErrorOptions: Object
Type declaration
| Name | Type |
|---|---|
path | string[] |
code | string |
message | string |
Defined in
ParseErrorOptions
Ƭ ParseErrorOptions: Object
Type declaration
| Name | Type |
|---|---|
path | string[] |
code | string |
message | string |
received? | unknown |
Defined in
Functions
isZodError
▸ isZodError(e): e is ZodError<any>
Parameters
| Name | Type |
|---|---|
e | unknown |
Returns
e is ZodError<any>