> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# IsConnectionError

<div className="kinetica-doxygen">
  <div id="afa028712f8ffadb8a94dc9637a9de0b5" />

  <h2 className="memtitle"><span className="permalink"><a href="#afa028712f8ffadb8a94dc9637a9de0b5">◆ </a></span>IsConnectionError()</h2>

  <div className="memitem">
    <div className="memproto">
      <table className="mlabels">
        <tr>
          <td className="mlabels-left">
            <table className="memname">
              <tr>
                <td className="memname">static bool kinetica.Kinetica.IsConnectionError </td>
                <td>(</td>
                <td className="paramtype">Exception</td>
                <td className="paramname"><span className="paramname"><span className="em">ex</span></span></td>
                <td>)</td>

                <td />
              </tr>
            </table>
          </td>

          <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span><span className="mlabel static">static</span></span> </td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Checks if an exception is a connection error that warrants HA failover. </p>
      <p>API errors (from server) should not trigger failover. Connection errors (network issues) should trigger failover. </p>
      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/Kinetica.cs#L1824">1824</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/Kinetica.cs">Kinetica.cs</a>.</p>
    </div>
  </div>
</div>
