---
title: RecoverableError
framework: foundation
role: symbol
role_heading: Protocol
path: foundation/recoverableerror
---

# RecoverableError

A specialized error that may be recoverable by presenting several potential recovery options to the user.

## Declaration

```swift
protocol RecoverableError : Error
```

## Topics

### Instance Properties

- [recoveryOptions](foundation/recoverableerror/recoveryoptions.md)

### Instance Methods

- [attemptRecovery(optionIndex:)](foundation/recoverableerror/attemptrecovery(optionindex:).md)
- [attemptRecovery(optionIndex:resultHandler:)](foundation/recoverableerror/attemptrecovery(optionindex:resulthandler:).md)

## Relationships

### Inherits From

- [Error](swift/error.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### User-Relevant Errors

- [Error](swift/error.md)
- [NSError](foundation/nserror.md)
- [LocalizedError](foundation/localizederror.md)
- [CustomNSError](foundation/customnserror.md)
