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

  • packages/devframe/src/rpc/dumps.ts — the static-mode dump resolver throws DF0026 when none of the pre-computed inputs matches the call's args and no fallback was configured.

Released under the MIT License.