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

# CapturedRoom.Error

Errors that can occur during a captured room export.

```
enum Error
```

## Overview

The captured room ([`CapturedRoom`](/documentation/RoomPlan/CapturedRoom)) function [`export(to:metadataURL:modelProvider:exportOptions:)`](/documentation/RoomPlan/CapturedRoom/export(to:metadataURL:modelProvider:exportOptions:)) can throw an error of this type.

## Topics

### Interpreting the error

[`case deviceNotSupported`](/documentation/RoomPlan/CapturedRoom/Error/deviceNotSupported)

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

[`case urlInvalidFileExtension`](/documentation/RoomPlan/CapturedRoom/Error/urlInvalidFileExtension)

An error that indicates that the URL contains an unsupported file extension.

[`case urlInvalidFilePath`](/documentation/RoomPlan/CapturedRoom/Error/urlInvalidFilePath)

An error that indicates that the URL references an invalid file path.

[`case urlInvalidScheme`](/documentation/RoomPlan/CapturedRoom/Error/urlInvalidScheme)

An error that indicates that the URL prefix represents an unsupported scheme.

[`case urlMissingFileExtension`](/documentation/RoomPlan/CapturedRoom/Error/urlMissingFileExtension)

An error that indicates that the URL lacks a necessary file extension.

### Inspecting error information

[`var errorDescription: String?`](/documentation/RoomPlan/CapturedRoom/Error/errorDescription)

A human-readable explanation of the error.

### Comparing errors

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)