ARKI_CONTRACTS_E010
thrownThis error is thrown. It stops your code unless you catch it. Fix the cause below; catching it only hides the problem.
What happened
`defineId` received an unsupported generation format.
Fix
Use 'uuid', omit format, or supply 2–256 distinct non-surrogate UTF-16 alphabet characters and an integer length of 1–256.
Check the fix
bun run test -- src/ids.test.tsRun it after the fix. It passes when the fix worked.
Where it comes from
- Package
- @arki/contracts
- Version
- 0.3.0 · next release candidate
- Source
- src/errors.ts:80