---
title: RoomCaptureSession.CaptureError
framework: roomplan
role: symbol
role_heading: Enumeration
path: roomplan/roomcapturesession/captureerror
---

# RoomCaptureSession.CaptureError

Errors that can occur during a room-capture session.

## Declaration

```swift
enum CaptureError
```

## Overview

Overview The error argument of a room-capture session delgate’s  captureSession(_:didEndWith:error:) function is of this type.

## Topics

### Identifying the error cause

- [RoomCaptureSession.CaptureError.deviceNotSupported](roomplan/roomcapturesession/captureerror/devicenotsupported.md)
- [RoomCaptureSession.CaptureError.deviceTooHot](roomplan/roomcapturesession/captureerror/devicetoohot.md)
- [RoomCaptureSession.CaptureError.exceedSceneSizeLimit](roomplan/roomcapturesession/captureerror/exceedscenesizelimit.md)
- [RoomCaptureSession.CaptureError.invalidARConfiguration](roomplan/roomcapturesession/captureerror/invalidarconfiguration.md)
- [RoomCaptureSession.CaptureError.worldTrackingFailure](roomplan/roomcapturesession/captureerror/worldtrackingfailure.md)
- [RoomCaptureSession.CaptureError.internalError](roomplan/roomcapturesession/captureerror/internalerror.md)

### Inspecting error information

- [errorDescription](roomplan/roomcapturesession/captureerror/errordescription.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Error](swift/error.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [LocalizedError](foundation/localizederror.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Responding to events

- [delegate](roomplan/roomcapturesession/delegate.md)
