[**CameraKit Web SDK v1.23.1**](../README.md)

***

[CameraKit Web SDK](../globals.md) / LensError

# Type Alias: LensError

> **LensError**: `NamedError`\<`"LensError"`\>

This error occurs if a Lens cannot be applied to the session, and is the rejection reason of
[CameraKitSession.applyLens](../classes/CameraKitSession.md#applylens).

If the Lens's own script threw while starting up, the script's error is behind this one; see
[LensScriptError](LensScriptError.md).
