| outline | deep |
|---|
Package:
devframe
Migrated from
DTK0004.
Either handler or setup function must be provided for RPC function "
{name}"
The RPC definition has neither a handler nor a setup returning { handler }. devframe has nothing to invoke when the function is called.
Add either handler: ... directly on the definition, or setup: ctx => ({ handler: ... }) if the handler depends on context.
packages/devframe/src/rpc/handler.ts