Interface ThrowErrorCommandStep1

    • Method Detail

      • errorCode

        ThrowErrorCommandStep1.ThrowErrorCommandStep2 errorCode​(String errorCode)
        Set the errorCode for the error.

        If the errorCode can't be matched to an error catch event in the workflow, an incident will be created.

        Parameters:
        errorCode - the errorCode that will be matched against an error catch event
        Returns:
        the builder for this command. Call FinalCommandStep.send() to complete the command and send it to the broker.