Structure

ILMessageFilterError

An error type that indicates problems with network requests and responses related to IdentityLookup APIs.

Declaration

struct ILMessageFilterError

Topics

Error Information

var errorCode: Int

The error code.

var errorUserInfo: [String : Any]

Additional details about an error.

var localizedDescription: String

A user-facing, localized string that describes the error.

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

Returns a Boolean value indicating whether two values are not equal.

Error Codes

static var invalidNetworkURL: ILMessageFilterError.Code

The network request URL given by the ILMessageFilterExtensionNetworkURL key in the app extension's information property list file is either missing or invalid.

static var networkRequestFailed: ILMessageFilterError.Code

The network request failed; the NSUnderlyingErrorKey in the errorUserInfo dictionary may have additional details.

static var networkURLUnauthorized: ILMessageFilterError.Code

The app extension's containing app is not authorized to allow the app extension to defer network requests to the host specified in its information property list file.

static var redundantNetworkDeferral: ILMessageFilterError.Code

The app extension tried to defer a request to its network service more than once, which is not allowed.

static var system: ILMessageFilterError.Code

An unspecified system error occurred.

Error Domain

static var errorDomain: String

The error domain for this error.

let ILMessageFilterErrorDomain: String

The error domain for errors associated with the IdentityLookup APIs.