Skip to content

DF0026: No Dump Match

Message

No dump match for "{name}" with args: {args}

Cause

A static-mode client called an RPC function with arguments that don't match any pre-computed record, and no fallback was set on the dump.

Fix

Either widen the function's dump.inputs to cover the requested arguments, or provide dump.fallback so unmatched calls resolve to a default value instead of throwing.

ts
defineRpcFunction({
  name: 'my-plugin:get',
  dump: {
    inputs: [['known-id']],
    fallback: null,
  },
})

Source

Released under the MIT License.