<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 11.0.0 -",
    "macOS: 10.15.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FileProviderUI",
  "identifier" : "/documentation/FileProviderUI/FPUIExtensionErrorCode",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "File Provider UI"
    ],
    "preciseIdentifier" : "c:@E@FPUIExtensionErrorCode"
  },
  "title" : "FPUIExtensionErrorCode"
}
-->

# FPUIExtensionErrorCode

The error codes for errors raised by the File Provider UI extension.

```
enum FPUIExtensionErrorCode
```

## Topics

### Error Codes

[`case failed`](/documentation/FileProviderUI/FPUIExtensionErrorCode/failed)

An error indicating that the action has failed.

[`case userCancelled`](/documentation/FileProviderUI/FPUIExtensionErrorCode/userCancelled)

An error indicating that the action was canceled by the user.

### Initializers

[`init?(rawValue: UInt)`](/documentation/FileProviderUI/FPUIExtensionErrorCode/init(rawValue:))

## Relationships

### Conforms To

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

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

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

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

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

[`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)