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
ErrorCallback Parameters
| Parameter | Type | Description |
|---|---|---|
error | Error | The error object with a descriptive message property |
Example
More Information
- Troubleshooting — common issues and solutions
- failed — fires when a call fails