---
title: SFError
framework: Safari app extensions
role: symbol
role_heading: Structure
platforms: [iOS 10.0+, iPadOS 10.0+, visionOS 1.0+]
path: safariservices/sferror
---

# SFError

A content blocker or Safari app extension error.

## Declaration

```swift
struct SFError
```

## Topics

### Error Codes

- [loadingInterrupted](safariservices/sferror/loadinginterrupted.md)
- [noAttachmentFound](safariservices/sferror/noattachmentfound.md)
- [noExtensionFound](safariservices/sferror/noextensionfound.md)
- [SFError.Code](safariservices/sferror/code.md)

### Error Domain

- [errorDomain](safariservices/sferror/errordomain.md)
- [SFErrorDomain](safariservices/sferrordomain.md)

### Type Properties

- [internalError](safariservices/sferror/internalerror.md)
- [maximumAttemptsExceeded](safariservices/sferror/maximumattemptsexceeded.md)
- [missingEntitlement](safariservices/sferror/missingentitlement.md)

## Relationships

### Conforms To

- [CustomNSError](foundation/customnserror.md)
- [Equatable](swift/equatable.md)
- [Error](swift/error.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Miscellaneous errors

- [SFError.Code](safariservices/sferror/code.md)
- [SFErrorDomain](safariservices/sferrordomain.md)
