setFailed
abstract fun setFailed(description: String, cancelPolicy: DirectiveHandlerResult.CancelPolicy = POLICY_CANCEL_ALL)
Content copied to clipboard
Should be called when directive handling failed by DirectiveHandler.
Parameters
description
the description for failure.
cancelPolicy
the policy for cancellation