Contents

needsValueError(_:)

Returns a restartPerform error with context to request a value from the user for this parameter and re-perform the intent with the new value.

Declaration

func needsValueError(_ dialog: IntentDialog? = nil) -> AppIntentError

Parameters

  • dialog:

    A custom dialog that may be used when prompting the user for the value

Return Value

An error that should be thrown within the intent perform() method.