Instance Method インスタンスメソッド

attemptRecovery(optionIndex:)

Attempt to recover from this error when the user selected the option at the given index. Returns true to indicate successful recovery, and false otherwise. ユーザがこの与えられたインデックスでのオプションを選択した時、このエラーからの復旧を試みます。trueを返すことで復旧の成功を指し示します、そしてfalseをそれ以外で。

Declaration 宣言

func attemptRecovery(optionIndex recoveryOptionIndex: Int) -> Bool

Discussion 議論

This entry point is used for recovery of errors handled at the “application” granularity, where nothing else in the application can proceed until the attempted error recovery completes. このエントリポイントは、“application” 粒度で取り扱われるエラーの復旧に使われます、そこでエラー復旧の試みが完了するまでアプリケーションにおいて続行できることは他にありません。