Skip to content

DF0022: RPC Function Not Registered (Update)

Message

RPC function "{name}" is not registered. Use register() to add new functions.

Cause

ctx.rpc.update() was called for a function that was never registered. update() is for replacing an existing definition.

Fix

Call ctx.rpc.register() first, or pass force: true to update() to register-or-replace in one call.

Source

Released under the MIT License.