<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 8.0.0 -",
    "macOS: 10.10.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/ErrorUserInfoKey",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "s:10Foundation16ErrorUserInfoKeyV"
  },
  "title" : "ErrorUserInfoKey"
}
-->

# ErrorUserInfoKey

These keys may exist in the user info dictionary.

```
struct ErrorUserInfoKey
```

## Topics

### Type Properties

[`static let NSURLErrorKey: ErrorUserInfoKey`](/documentation/Foundation/ErrorUserInfoKey/NSURLErrorKey)

[`static let filePathErrorKey: ErrorUserInfoKey`](/documentation/Foundation/ErrorUserInfoKey/filePathErrorKey)

[`static let helpAnchorErrorKey: ErrorUserInfoKey`](/documentation/Foundation/ErrorUserInfoKey/helpAnchorErrorKey)

[`static let localizedDescriptionKey: ErrorUserInfoKey`](/documentation/Foundation/ErrorUserInfoKey/localizedDescriptionKey)

[`static let localizedFailureReasonErrorKey: ErrorUserInfoKey`](/documentation/Foundation/ErrorUserInfoKey/localizedFailureReasonErrorKey)

[`static let localizedRecoveryOptionsErrorKey: ErrorUserInfoKey`](/documentation/Foundation/ErrorUserInfoKey/localizedRecoveryOptionsErrorKey)

[`static let localizedRecoverySuggestionErrorKey: ErrorUserInfoKey`](/documentation/Foundation/ErrorUserInfoKey/localizedRecoverySuggestionErrorKey)

[`static let recoveryAttempterErrorKey: ErrorUserInfoKey`](/documentation/Foundation/ErrorUserInfoKey/recoveryAttempterErrorKey)

[`static let stringEncodingErrorKey: ErrorUserInfoKey`](/documentation/Foundation/ErrorUserInfoKey/stringEncodingErrorKey)

[`static let underlyingErrorKey: ErrorUserInfoKey`](/documentation/Foundation/ErrorUserInfoKey/underlyingErrorKey)

## Relationships

### Conforms To

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

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

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

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

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