# OperationTimedOutError

<div class="jsdoc-content"><header>
    
        <h2><span class="attribs"><span class="type-signature"></span></span>
            <span class="ancestors"><a href="index.html">errors</a>~</span>OperationTimedOutError<span class="signature">(message, host)</span><span class="type-signature"></span></h2>
        
            <div class="class-description"><p>Legacy client-side timeout error type retained for API compatibility.</p>
<p>Native coordinator-request deadlines configured through <code>requestTimeout</code>
currently reject with an <code>Error</code> named <code>ExecutionError</code> instead.</p></div>
        
    
</header>


    
        

    
    </div>

## Constructor

<div class="jsdoc-content">
    

    
    <h4 class="name" id="OperationTimedOutError"><span class="type-signature"></span>new OperationTimedOutError<span class="signature">(message, host)</span><span class="type-signature"></span></h4>
    

    











    <h5>Parameters:</h5>
    

<table class="params docutils align-default">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>message</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>host</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>Address of the server host that caused the operation to time out.</p></td>
        </tr>

    
    </tbody>
</table>






<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/errors.ts#L117" target="_blank" rel="noopener">errors.ts, line 117</a></p></div>




















    
    

    

    

    

    

    

    

    
        </div>

## Members

<div class="jsdoc-content">

        
            
<h4 class="name" id="host"><span class="type-signature"></span>host<span class="type-signature"></span></h4>




<div class="description">
    <p>When defined, it gets the address of the host that caused the operation to time out.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/errors.ts#L121" target="_blank" rel="noopener">errors.ts, line 121</a></p></div></div>
