schema.invalid_input

failureThis is a failure. A function returns it as a value, so your code keeps running and you decide what to do.

What happened

Input failed the schema's checks. Only intentional public issue fields are retained.

Fix

Correct the reported input issues.

Check the fix

bun run test -- src/schema.test.ts

Run 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:56