---
title: NSLocalizedRecoveryOptionsErrorKey
framework: foundation
role: symbol
role_heading: Global Variable
path: foundation/nslocalizedrecoveryoptionserrorkey
---

# NSLocalizedRecoveryOptionsErrorKey

The corresponding value is an array containing the localized titles of buttons appropriate for displaying in an alert panel.

## Declaration

```swift
let NSLocalizedRecoveryOptionsErrorKey: String
```

## Discussion

Discussion The first string is the title of the right-most and default button, the second the one to the left, and so on. The recovery options should be appropriate for the recovery suggestion returned by localizedRecoverySuggestion.

## See Also

### Constants

- [NSURLErrorKey](foundation/nsurlerrorkey.md)
- [NSFilePathErrorKey](foundation/nsfilepatherrorkey.md)
- [NSHelpAnchorErrorKey](foundation/nshelpanchorerrorkey.md)
- [NSLocalizedDescriptionKey](foundation/nslocalizeddescriptionkey.md)
- [NSLocalizedFailureErrorKey](foundation/nslocalizedfailureerrorkey.md)
- [NSLocalizedFailureReasonErrorKey](foundation/nslocalizedfailurereasonerrorkey.md)
- [NSLocalizedRecoverySuggestionErrorKey](foundation/nslocalizedrecoverysuggestionerrorkey.md)
- [NSRecoveryAttempterErrorKey](foundation/nsrecoveryattemptererrorkey.md)
- [NSStringEncodingErrorKey](foundation/nsstringencodingerrorkey.md)
- [NSUnderlyingErrorKey](foundation/nsunderlyingerrorkey.md)
- [NSDebugDescriptionErrorKey](foundation/nsdebugdescriptionerrorkey.md)
- [NSMultipleUnderlyingErrorsKey](foundation/nsmultipleunderlyingerrorskey.md)
