Result returned by safeParse: a discriminated union with either
the validated value or the encountered error.
On failure, prefer issues over error: it is structured, and reading it
does not force the (comparatively expensive) construction of an Error
with its stack trace, which error performs lazily on first access.
Result returned by
safeParse: a discriminated union with either the validated value or the encountered error.On failure, prefer
issuesovererror: it is structured, and reading it does not force the (comparatively expensive) construction of anErrorwith its stack trace, whicherrorperforms lazily on first access.