<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SafariServices",
  "identifier" : "/documentation/SafariServices/SFError",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Safari Services"
    ],
    "preciseIdentifier" : "s:SC11SFErrorCodeLeV"
  },
  "title" : "SFError"
}
-->

# SFError

A content blocker or Safari app extension error.

```
struct SFError
```

## Topics

### Error Codes

[`loadingInterrupted`](/documentation/SafariServices/SFError/loadingInterrupted)

[`noAttachmentFound`](/documentation/SafariServices/SFError/noAttachmentFound)

[`noExtensionFound`](/documentation/SafariServices/SFError/noExtensionFound)

[`Code`](/documentation/SafariServices/SFError/Code)

Messages that describe a content blocker or Safari app extension error.

### Error Domain

[`errorDomain`](/documentation/SafariServices/SFError/errorDomain)

[`SFErrorDomain`](/documentation/SafariServices/SFErrorDomain)

The domain for content blocker or Safari app extension errors.

## Relationships

### Conforms To

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

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

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

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

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

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