<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [sip.js](./sip.js.md) &gt; [InviteClientTransaction](./sip.js.inviteclienttransaction.md) &gt; [onTransportError](./sip.js.inviteclienttransaction.ontransporterror.md)

## InviteClientTransaction.onTransportError() method

The client transaction SHOULD inform the TU that a transport failure has occurred, and the client transaction SHOULD transition directly to the "Terminated" state. The TU will handle the failover mechanisms described in \[4\]. https://tools.ietf.org/html/rfc3261\#section-17.1.4

<b>Signature:</b>

```typescript
protected onTransportError(error: TransportError): void;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  error | <code>TransportError</code> | The error. |

<b>Returns:</b>

`void`

