> For the complete documentation index, see [llms.txt](https://docs.facephi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.facephi.com/docs.facephi-en/sdks/sdk-web/componentes/videoid-identificacion-en-video/eventos/exceptioncaptured.md).

# exceptionCaptured

## Details

An error has occurred during the capture process.

**Event:** `exceptionCaptured`

**Type:** `CustomEvent`

### Syntax

```typescript
videoId.addEventListener('exceptionCaptured', onExceptionCaptured);
```

## Description

This event is emitted when an error has occurred during the capture process.

***

## Example

```jsx
<facephi-video-id
    onExceptionCaptured={() => {
        console.error('Something went wrong');
    }}
/>
```
