<span class="hljs-keyword">unless</span> resp?.success

    <span class="hljs-property">@promise</span>(resp)

  <span class="hljs-attribute">handleFailure</span>: <span class="hljs-function"><span class="hljs-params">(e)</span> -&gt;</span>
    <span class="hljs-keyword">if</span> e.status == DataboundError.STATUS
      <span class="hljs-keyword">throw</span> <span class="hljs-keyword">new</span> DataboundError(e.responseJSON.message)
    <span class="hljs-keyword">else</span>
      <span class="hljs-keywo