Package io.camunda.client.api.command
Interface ThrowErrorCommandStep1
- All Superinterfaces:
CommandWithCommunicationApiStep<ThrowErrorCommandStep1>
- All Known Implementing Classes:
ThrowErrorCommandImpl
public interface ThrowErrorCommandStep1
extends CommandWithCommunicationApiStep<ThrowErrorCommandStep1>
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface -
Method Summary
Modifier and TypeMethodDescriptionSet the errorCode for the error.Methods inherited from interface io.camunda.client.api.command.CommandWithCommunicationApiStep
useGrpc, useRest
-
Method Details
-
errorCode
Set the errorCode for the error.If the errorCode can't be matched to an error catch event in the process, 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.
-