<!--
{
  "availability" : [
    "iOS: 11.3.0 -",
    "iPadOS: 11.3.0 -",
    "macCatalyst: 11.3.0 -",
    "macOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ClassKit",
  "identifier" : "/documentation/ClassKit/CLSErrorUserInfoKey",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "ClassKit"
    ],
    "preciseIdentifier" : "c:@T@CLSErrorUserInfoKey"
  },
  "title" : "CLSErrorUserInfoKey"
}
-->

# CLSErrorUserInfoKey

Keys that appear in the user info dictionary in errors that ClassKit creates.

```
struct CLSErrorUserInfoKey
```

## Topics

### Keys

[`static let objectKey: CLSErrorUserInfoKey`](/documentation/ClassKit/CLSErrorUserInfoKey/objectKey)

A key whose value is the object that caused the error.

[`static let successfulObjectsKey: CLSErrorUserInfoKey`](/documentation/ClassKit/CLSErrorUserInfoKey/successfulObjectsKey)

[`static let underlyingErrorsKey: CLSErrorUserInfoKey`](/documentation/ClassKit/CLSErrorUserInfoKey/underlyingErrorsKey)

A key whose value is the array of errors that contributed to this error.

### Initializers

[`init(String)`](/documentation/ClassKit/CLSErrorUserInfoKey/init(_:))

Initializes the key.

[`init(rawValue: String)`](/documentation/ClassKit/CLSErrorUserInfoKey/init(rawValue:))

Initializes the key with a value.

## Relationships

### Conforms To

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

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

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

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

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

---

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)