<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "IdentityLookup",
  "identifier" : "/documentation/IdentityLookup/ILMessageFilterError-swift.struct",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SMS and Call Reporting"
    ],
    "preciseIdentifier" : "s:SC20ILMessageFilterErrorLeV"
  },
  "title" : "ILMessageFilterError"
}
-->

# ILMessageFilterError

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

```
struct ILMessageFilterError
```

## Topics

### Enumerations

[`enum Code`](/documentation/IdentityLookup/ILMessageFilterError-swift.struct/Code)

IdentityLookup error codes.

### Error Information

### Error Codes

[`static var invalidNetworkURL: ILMessageFilterError.Code`](/documentation/IdentityLookup/ILMessageFilterError-swift.struct/invalidNetworkURL)

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`](/documentation/IdentityLookup/ILMessageFilterError-swift.struct/networkRequestFailed)

The network request failed.

[`static var networkURLUnauthorized: ILMessageFilterError.Code`](/documentation/IdentityLookup/ILMessageFilterError-swift.struct/networkURLUnauthorized)

The app extension’s containing app isn’t 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`](/documentation/IdentityLookup/ILMessageFilterError-swift.struct/redundantNetworkDeferral)

The app extension tried to defer a request to its network service more than once, which isn’t allowed.

[`static var system: ILMessageFilterError.Code`](/documentation/IdentityLookup/ILMessageFilterError-swift.struct/system)

An unspecified system error occurred.

### Error Domain

[`let ILMessageFilterErrorDomain: String`](/documentation/IdentityLookup/ILMessageFilterErrorDomain)

The error domain for errors associated with the IdentityLookup APIs.

### Type Properties

[`static var errorDomain: String`](/documentation/IdentityLookup/ILMessageFilterError-swift.struct/errorDomain)

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)