Instance Method

finishedHandlingError(_:recovered:)

Tells UIKit that you have finished handled the error.

Declaration

func finishedHandlingError(_ error: Error, recovered: Bool)

Parameters

error

An error object encapsulating information about the error.

recovered

true if you recovered from the error, otherwise false.

Discussion

This method is called by default when handling of an error (including any user interaction) is complete. Subclasses need to call this method only if they override handleError(_:userInteractionPermitted:) and do not call the superclass implementation (super). If you override this method, you must call super.

See Also

Related Symbols

func userInteractionNoLongerPermitted(forError: Error)

Sent when it is no longer safe to proceed without immediately handling the error.