DF0024: Missing RPC Handler
Message
Either handler or setup function must be provided for RPC function "
{name}"
Cause
The RPC definition has neither a handler nor a setup returning { handler }. devframe has nothing to invoke when the function is called.
Fix
Add either handler: ... directly on the definition, or setup: ctx => ({ handler: ... }) if the handler depends on context.
Source
packages/devframe/src/rpc/handler.ts— invocation throwsDF0024when neitherhandlernor asetupreturning{ handler }is provided.packages/devframe/src/rpc/dumps.ts— dump generation also requires a handler and throwsDF0024if the definition is incomplete.