ken punctuation">)</span>
  <span class="token keyword">extends</span> RuntimeException<span class="token punctuation">(</span>
    s<span class="token triple-quoted-string string">&quot;&quot;&quot;Query &quot;$queryName&quot; failed with ${cause.getMessage}&quot;&quot;&quot;</span><span class="token punctuation">,</span>
    cause<span class="token punctuation">,</span>
  <span class="token punctuation">)</span>
</code></pre></div><p>To define a table you must extend <code>TableDef</code> trait which has 