cancelRequest(withError:)
Cancels the action and returns the provided error.
Declaration
func cancelRequest(withError error: any Error)Mentioned in
Discussion
Call this method if the action fails. Set the error’s domain to FPUIErrorDomain. Set the error code to a FPUIExtensionErrorCode value.