<!--
{
  "availability" : [
    "iOS: 18.4.0 -",
    "iPadOS: 18.4.0 -",
    "macCatalyst: 18.4.0 -",
    "macOS: 10.15.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SystemExtensions",
  "identifier" : "/documentation/SystemExtensions/OSSystemExtensionError",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "System Extensions"
    ],
    "preciseIdentifier" : "s:SC26OSSystemExtensionErrorCodeLeV"
  },
  "title" : "OSSystemExtensionError"
}
-->

# OSSystemExtensionError

An error that describes a failed extension manager request.

```
struct OSSystemExtensionError
```

## Topics

### Inspecting Error Properties

[`static var errorDomain: String`](/documentation/SystemExtensions/OSSystemExtensionError/errorDomain)

The domain of SystemExtension errors.

### Error Codes

[`enum Code`](/documentation/SystemExtensions/OSSystemExtensionError/Code)

Error codes for system extensions.

[`static var unknown: OSSystemExtensionError.Code`](/documentation/SystemExtensions/OSSystemExtensionError/unknown)

An error code that indicates an unknown error occurred.

[`static var missingEntitlement: OSSystemExtensionError.Code`](/documentation/SystemExtensions/OSSystemExtensionError/missingEntitlement)

An error code that indicates the system extension lacks a required entitlement.

[`static var unsupportedParentBundleLocation: OSSystemExtensionError.Code`](/documentation/SystemExtensions/OSSystemExtensionError/unsupportedParentBundleLocation)

An error code that indicates the extension’s parent app isn’t in a valid location for activation.

[`static var extensionNotFound: OSSystemExtensionError.Code`](/documentation/SystemExtensions/OSSystemExtensionError/extensionNotFound)

An error code that indicates the manager can’t find the system extension.

[`static var extensionMissingIdentifier: OSSystemExtensionError.Code`](/documentation/SystemExtensions/OSSystemExtensionError/extensionMissingIdentifier)

An error code that indicates the extension identifier is missing.

[`static var duplicateExtensionIdentifer: OSSystemExtensionError.Code`](/documentation/SystemExtensions/OSSystemExtensionError/duplicateExtensionIdentifer)

An error code that indicates the extension identifier duplicates an existing identifier.

[`static var unknownExtensionCategory: OSSystemExtensionError.Code`](/documentation/SystemExtensions/OSSystemExtensionError/unknownExtensionCategory)

An error code that indicates the extension manager can’t recognize the extension’s category identifier.

[`static var codeSignatureInvalid: OSSystemExtensionError.Code`](/documentation/SystemExtensions/OSSystemExtensionError/codeSignatureInvalid)

An error code that indicates the extension’s signature is invalid.

[`static var validationFailed: OSSystemExtensionError.Code`](/documentation/SystemExtensions/OSSystemExtensionError/validationFailed)

An error code that indicates the manager can’t validate the extension.

[`static var forbiddenBySystemPolicy: OSSystemExtensionError.Code`](/documentation/SystemExtensions/OSSystemExtensionError/forbiddenBySystemPolicy)

An error code that indicates the system policy prohibits activating the system extension.

[`static var requestCanceled: OSSystemExtensionError.Code`](/documentation/SystemExtensions/OSSystemExtensionError/requestCanceled)

An error code that indicates the system extension manager request was canceled.

[`static var requestSuperseded: OSSystemExtensionError.Code`](/documentation/SystemExtensions/OSSystemExtensionError/requestSuperseded)

An error code that indicates the system extension request failed because the system already has a pending request for the same identifier.

[`static var authorizationRequired: OSSystemExtensionError.Code`](/documentation/SystemExtensions/OSSystemExtensionError/authorizationRequired)

An error code that indicates the system was unable to obtain the proper authorization.

### Comparing Error Instances

## Relationships

### Conforms To

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

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

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

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

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