Instance Method

cancelRequest(withError:)

Cancels the action and returns the provided error.

Declaration

func cancelRequest(withError error: Error)

Discussion

Call this method if the action fails. Set the error's domain to FPUIErrorDomain. Set the error code to a FPUIExtensionErrorCode value.

See Also

Completing the Action

func completeRequest()

Marks the action as complete.