rd">throw</span> <span class="hljs-keyword">new</span> Error <span class="hljs-string">"Error in the backend with status <span class="hljs-subst">#{e.status}</span>"</span>

  <span class="hljs-attribute">checkUndefinedId</span>: <span class="hljs-function"><span class="hljs-params">(action, id)</span> -&gt;</span>
    <span class="hljs-keyword">return</span> <span class="hljs-keyword">unless</span> _.isUndefined(id)

    <span class="hljs-keyword">throw</span> <span class="hljs-keyword">new</span> Databoun