Structure

OSSystemExtensionError

An error that describes a failed extension manager request.

Declaration

struct OSSystemExtensionError

Topics

Inspecting Error Properties

var errorCode: Int

A numeric code that identifies the error.

var errorUserInfo: [String : Any]

A dictionary that provides details about the error.

var localizedDescription: String

A string containing the localized description of the error.

Error Codes

enum OSSystemExtensionError.Code

Error codes for system extensions.

static var errorDomain: String

The domain of System Extension errors.

static var codeSignatureInvalid: OSSystemExtensionError.Code

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

static var duplicateExtensionIdentifer: OSSystemExtensionError.Code

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

static var extensionMissingIdentifier: OSSystemExtensionError.Code

An error code that indicates the extension identifier is missing.

static var extensionNotFound: OSSystemExtensionError.Code

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

static var forbiddenBySystemPolicy: OSSystemExtensionError.Code

The system policy prohibits activating the system extension.

static var missingEntitlement: OSSystemExtensionError.Code

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

static var requestCanceled: OSSystemExtensionError.Code

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

static var requestSuperseded: OSSystemExtensionError.Code

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

static var unknown: OSSystemExtensionError.Code

An error code that indicates an unknown error occurred.

static var unknownExtensionCategory: OSSystemExtensionError.Code

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

static var unsupportedParentBundleLocation: OSSystemExtensionError.Code

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

static var validationFailed: OSSystemExtensionError.Code

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

Comparing Error Instances

static func != (OSSystemExtensionError, OSSystemExtensionError) -> Bool

Evaluates whether two system extension errors are unequal.

See Also

Errors

let OSSystemExtensionErrorDomain: String

The error domain identifying system extension errors.