title: Using trap with KDB and non-declared variables?
body: <p>Say for example I'm trying to do try-catch where <code>x</code> does not exist:</p>
  <pre><code>@[x;::;&quot;error&quot;]
  </code></pre>
  <p>I get an <code>'x</code> error, rather than <code>&quot;error&quot;</code>. What am I doing wrong?</p>