Foundation · IOS API REFERENCE
RecoverableError
protocol · iOS 8.0+ · SDK 27.1
protocol RecoverableError : Error
A specialized error that may be recoverable by presenting several potential recovery options to the user.
Members (1)
method · iOS 8.0+attemptRecovery
Swift declarationfunc attemptRecovery(optionIndex recoveryOptionIndex: Int, resultHandler handler: @escaping (Bool) -> Void)
Default implementation that uses the application-model recovery
mechanism (``attemptRecovery(optionIndex:)``) to implement
document-modal recovery.
Skipped declarations
No declarations were skipped in this snapshot.
All Foundation types →