Throw on failed validation
Does Arktype throws on failed validation?
I saw that there's a
I expected this config to change the behavior of arktype to throw instead. Is it possible or is it by design? Not that I need it, was just curious if this is possible or I did/understood something wrong.
I saw that there's a
onFail in docs, so I've configured it and imported it before artype itself in place of use, but still no error was thrown.I expected this config to change the behavior of arktype to throw instead. Is it possible or is it by design? Not that I need it, was just curious if this is possible or I did/understood something wrong.
