<!--
{
  "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/Code",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "SMS and Call Reporting"
    ],
    "preciseIdentifier" : "c:@E@ILMessageFilterError"
  },
  "title" : "ILMessageFilterError.Code"
}
-->

# ILMessageFilterError.Code

IdentityLookup error codes.

```
enum Code
```

## Topics

### Error Codes

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

An unspecified system error occurred.

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

The network request URL given by the `ILMessageFilterExtensionNetworkURL` key in the app extension’s `Info.plist` file is either missing or invalid.

[`case networkURLUnauthorized`](/documentation/IdentityLookup/ILMessageFilterError-swift.struct/Code/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 `Info.plist` file.

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

The network request failed.

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

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

### Initializers

[`init?(rawValue: Int)`](/documentation/IdentityLookup/ILMessageFilterError-swift.struct/Code/init(rawValue:))

## Relationships

### Conforms To

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

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

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

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

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

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