contracts.invalid_cursor_value
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 row has a missing or unrepresentable cursor key.
Fix
Use non-null strings, finite numbers, booleans or valid Dates and keep the cursor within 1024 characters.
Check the fix
bun run test -- src/pagination.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:129