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
ParserError to represent errors from the err function
Changed
BREAKING CHANGES:
ParserResult errors changed; now they take a generic E type to define
their error property. No code changes are needed if your custom parsers
only use the err function.
Instead of throwing on failure, schema now returns a ParserResult
object. See README.md for details.
Removed
BREAKING CHANGES:
Drop support for async validation: AsyncParser removed, SyncParser
renamed to just Parser.