TypeError</span><span class="p">),</span>
<span class="p">})</span>


<span class="nd">@handle_common_header_errors</span>
<span class="k">def</span> <span class="nf">_error_from_response</span><span class="p">(</span><span class="n">response</span><span class="p">):</span>
<span class="w">    </span><span class="sd">&quot;&quot;&quot;Return a custom exception based on the first invalid point_cloud response, None if no error.&quot;&quot;&quot;</span>
    <span class="k">for</span> <span class="n">point_clou