Skip to content

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 ​

Released under the MIT License.