<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RoomPlan",
  "identifier" : "/documentation/RoomPlan/RoomCaptureSession/CaptureError",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "RoomPlan"
    ],
    "preciseIdentifier" : "s:8RoomPlan0A14CaptureSessionC0C5ErrorO"
  },
  "title" : "RoomCaptureSession.CaptureError"
}
-->

# RoomCaptureSession.CaptureError

Errors that can occur during a room-capture session.

```
enum CaptureError
```

## Overview

The `error` argument of a room-capture session delgate’s  [`captureSession(_:didEndWith:error:)`](/documentation/RoomPlan/RoomCaptureSessionDelegate/captureSession(_:didEndWith:error:)) function is of this type.

## Topics

### Identifying the error cause

[`RoomCaptureSession.CaptureError.deviceNotSupported`](/documentation/RoomPlan/RoomCaptureSession/CaptureError/deviceNotSupported)

An error that indicates that the framework doesn’t support the user’s device.

[`RoomCaptureSession.CaptureError.deviceTooHot`](/documentation/RoomPlan/RoomCaptureSession/CaptureError/deviceTooHot)

An error that indicates when the device thermal metrics surpass the framework’s limitations.

[`RoomCaptureSession.CaptureError.exceedSceneSizeLimit`](/documentation/RoomPlan/RoomCaptureSession/CaptureError/exceedSceneSizeLimit)

An error that indicates when the scene size grows past the framework’s limitations.

[`RoomCaptureSession.CaptureError.invalidARConfiguration`](/documentation/RoomPlan/RoomCaptureSession/CaptureError/invalidARConfiguration)

An error that indicates when the ARKit session runs an unsupported configuration.

[`RoomCaptureSession.CaptureError.worldTrackingFailure`](/documentation/RoomPlan/RoomCaptureSession/CaptureError/worldTrackingFailure)

An error that indicates an issue with the underlying ARKit session.

[`RoomCaptureSession.CaptureError.internalError`](/documentation/RoomPlan/RoomCaptureSession/CaptureError/internalError)

An error that indicates when the framework encounters an unexpected error case.

### Inspecting error information

[`errorDescription`](/documentation/RoomPlan/RoomCaptureSession/CaptureError/errorDescription)

A human-readable explanation for the error.

### Comparing errors

## Relationships

### Conforms To

[`LocalizedError`](/documentation/Foundation/LocalizedError)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

[`Error`](/documentation/Swift/Error)

[`Hashable`](/documentation/Swift/Hashable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)