Package io.zeebe.client.api.command
Interface ThrowErrorCommandStep1
-
- All Known Implementing Classes:
ThrowErrorCommandImpl
public interface ThrowErrorCommandStep1
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ThrowErrorCommandStep1.ThrowErrorCommandStep2
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ThrowErrorCommandStep1.ThrowErrorCommandStep2
errorCode(String errorCode)
Set the errorCode for the error.
-
-
-
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.
-
-