<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [motion-sdk](./motion-sdk.md) &gt; [ClosedError](./motion-sdk.closederror.md) &gt; [cause](./motion-sdk.closederror.cause.md)

## ClosedError.cause property

Error that caused the closure.

**Signature:**

```typescript
readonly cause?: MotionError | undefined;
```
