---
sidebar_label: WebWorkerEvent
---

# WebWorkerEvent enum

### Signature

```typescript
export declare enum WebWorkerEvent
```

## Enumeration Members

<table><thead><tr><th>

Member

</th><th>

Value

</th><th>

Description

</th></tr></thead>
<tbody><tr><td>

Console

</td><td>

`"console"`

</td><td>

Emitted when the worker calls a console API.

</td></tr>
<tr><td>

Error

</td><td>

`"error"`

</td><td>

Emitted when the worker throws an exception.

</td></tr>
</tbody></table>
