K
Docs
API Reference→Pieces→Call it Off
✋

Call it Off

vault.abortThe VaultVault

Changed your mind? Inside an 🔐 All-or-Nothing box, this undoes every Vault change the box made and jumps to its Undone path, carrying your reason along as {{oops.reason}}. Pair it with a Condition: "not enough coins? call it off".

When to use this
  • →Only works inside an All-or-Nothing box — anywhere else it just stops the flow
  • →Whatever you write here shows up as {{oops.reason}} on the box's Undone path

On the canvas

This is what Call it Off looks like when you place it on your flow. Each field below is something you configure in the inspector panel.

✋
Call it Off
vault.abort
Vault
reason
e.g. You don't have enough coins!

Config fields

FieldTypeReqWhat it does
reason
e.g. You don't have enough coins!
text—Why? 💬
📐

In TypeScript, this would be…

Not something you need to write — just a look at what Kitcord does for you.

TypeScript
// Inside All-or-Nothing: undo the whole box and jump to Undone
throw new CallItOff("You don't have enough coins!"); // → {{oops.reason}}