schema.validator_defect
failureThis is a failure. A function returns it as a value, so your code keeps running and you decide what to do.
What happened
A validator threw, rejected, or violated the Standard Schema result contract.
Fix
Fix the validator; inspect the private cause for details.
Check the fix
bun run test -- src/schema.test.tsRun it after the fix. It passes when the fix worked.
Where it comes from
- Package
- @arki/failure
- Version
- 0.2.0 · next release candidate
- Source
- src/foundations.ts:77