[**CameraKit Web SDK - Push 2 Web v1.17.0**](../README.md)

***

[CameraKit Web SDK - Push 2 Web](../globals.md) / LensExcludedErrorEvent

# Type Alias: LensExcludedErrorEvent

> **LensExcludedErrorEvent**: `object`

This error will occur if the lens is excluded from push for any reason.

## Type declaration

### name

> **name**: `"LensExcludedError"`

Type of the event.

### cause

> **cause**: `Error`

The reason of the error event.

### lensId

> **lensId**: `string`

Lens id

### ~~reason~~

> **reason**: [`ListenLensPushResponse_ExcludedLens_Code`](../enumerations/ListenLensPushResponse_ExcludedLens_Code.md)

Contains the reason why the lens was excluded.

#### Deprecated

Use `cause.message` instead.
