## Documentation Index

Fetch the complete documentation index at: [/llms.txt](https://docs.cognigy.com/llms.txt)

Use this file to discover all available pages before exploring further.

Emitted when an asynchronous error occurs during the SDK lifecycle, such as a SIP registration failure, audio playback error, or call error.

Errors thrown by async methods like `connect()` and `startCall()` can also be caught using `try`/`catch`. The `error` event captures asynchronous errors that occur outside of direct method calls.

##  Category

Error

##  Callback Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| `error` | `Error` | The error object with a descriptive `message` property. |

##  Example

```
client.on('error', (error) => {
  console.error('Click To Call SDK error:', error.message);
});
```

##  More Information

- [Troubleshooting](https://docs.cognigy.com/click-to-call/sdk/troubleshooting)
- [failed](https://docs.cognigy.com/click-to-call/sdk/event-reference/failed)

Last modified on April 21, 2026
