---
title: ObjectCaptureSession.Error
framework: realitykit
role: symbol
role_heading: Enumeration
path: realitykit/objectcapturesession/error
---

# ObjectCaptureSession.Error

Errors associated with the top-level computation of this class.

## Declaration

```swift
enum Error
```

## Topics

### Enumeration Cases

- [ObjectCaptureSession.Error.cancelled](realitykit/objectcapturesession/error/cancelled.md)
- [ObjectCaptureSession.Error.directoryNotEmpty(_:)](realitykit/objectcapturesession/error/directorynotempty(_:).md)
- [ObjectCaptureSession.Error.insufficientStorage(requiredBytes:)](realitykit/objectcapturesession/error/insufficientstorage(requiredbytes:).md)
- [ObjectCaptureSession.Error.sensorFailed](realitykit/objectcapturesession/error/sensorfailed.md)
- [ObjectCaptureSession.Error.trackingFailed](realitykit/objectcapturesession/error/trackingfailed.md)

### Instance Properties

- [localizedDescription](realitykit/objectcapturesession/error/localizeddescription.md)

## Relationships

### Conforms To

- [Error](swift/error.md)
- [LocalizedError](foundation/localizederror.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Monitoring the session

- [ObjectCaptureSession.CaptureState](realitykit/objectcapturesession/capturestate.md)
