Interface ThrowErrorCommandStep1.ThrowErrorCommandStep2
- All Superinterfaces:
FinalCommandStep<Void>
- All Known Implementing Classes:
ThrowErrorCommandImpl
- Enclosing interface:
- ThrowErrorCommandStep1
public static interface ThrowErrorCommandStep1.ThrowErrorCommandStep2
extends FinalCommandStep<Void>
-
Method Summary
Modifier and TypeMethodDescriptionerrorMessage
(String errorMsg) Provide an error message describing the reason for the non-technical error.variables
(InputStream variables) Set the variables of this job.Set the variables of this job.Set the variables of this job.Set the variables of this job.Methods inherited from interface io.camunda.zeebe.client.api.command.FinalCommandStep
requestTimeout, send
-
Method Details
-
errorMessage
Provide an error message describing the reason for the non-technical error. If the error is not caught by an error catch event, this message will be a part of the raised incident.- Parameters:
errorMsg
- error message- Returns:
- the builder for this command. Call
FinalCommandStep.send()
to complete the command and send it to the broker.
-
variables
Set the variables of this job.- Parameters:
variables
- the variables (JSON) as stream- Returns:
- the builder for this command. Call
FinalCommandStep.send()
to complete the command and send it to the broker.
-
variables
Set the variables of this job.- Parameters:
variables
- the variables (JSON) as String- Returns:
- the builder for this command. Call
FinalCommandStep.send()
to complete the command and send it to the broker.
-
variables
Set the variables of this job.- Parameters:
variables
- the variables as map- Returns:
- the builder for this command. Call
FinalCommandStep.send()
to complete the command and send it to the broker.
-
variables
Set the variables of this job.- Parameters:
variables
- the variables as object- Returns:
- the builder for this command. Call
FinalCommandStep.send()
to complete the command and send it to the broker.
-