You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My question is: what's the difference between them? Why are they separate? I see docs relate to issues (and methods such as addIssue/addIssues exist). What's the point of errors anyway?
I've read error handling but it doesn't answer this question.
The text was updated successfully, but these errors were encountered:
Whenever working with zod errors/issues I find out that
issues
anderrors
have exactly the same content, like below:sample code below:
and inside internal TS zod types, both properties relate to the same
ZodIssue
type:My question is: what's the difference between them? Why are they separate? I see docs relate to issues (and methods such as
addIssue
/addIssues
exist). What's the point oferrors
anyway?I've read error handling but it doesn't answer this question.
The text was updated successfully, but these errors were encountered: