Features
enum LoginError: Error {
case wrongUser(id: String)
case wrongPassword
}
SentrySDK.capture(error: LoginError.wrongUser("12345678"))For the Swift error above Sentry displays:
| sentry-cocoa SDK | Title | Description |
|---|---|---|
| Since 8.7.0 | LoginError
| wrongUser(id: "12345678") (Code: 1)
|
| Before 8.7.0 | LoginError
| Code: 1
|
Customized error descriptions have precedence over this feature.
This change has no impact on grouping of the issues in Sentry.