Interface ThrowErrorCommandStep1
- All Superinterfaces:
CommandWithCommunicationApiStep<ThrowErrorCommandStep1>
- All Known Implementing Classes:
ThrowErrorCommandImpl
@Deprecated
public interface ThrowErrorCommandStep1
extends CommandWithCommunicationApiStep<ThrowErrorCommandStep1>
Deprecated.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceDeprecated.since 8.8 for removal in 8.9, replaced byThrowErrorCommandStep1.ThrowErrorCommandStep2 -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Set the errorCode for the error.Methods inherited from interface io.camunda.zeebe.client.api.command.CommandWithCommunicationApiStep
useGrpc, useRest
-
Method Details
-
errorCode
Deprecated.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.
-
ThrowErrorCommandStep1