ARKI_CONTRACTS_E007

thrownThis error is thrown. It stops your code unless you catch it. Fix the cause below; catching it only hides the problem.

What happened

`operationOf` got a value that carries no operation.

Fix

Pass a leaf of `createOrpcUtils`, or an object built by `operations()`.

Check the fix

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

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