Uses of Enum Class
io.axoniq.framework.springcloud.command.CommandErrorCode
Packages that use CommandErrorCode
Package
Description
The command side of the Spring Cloud connector: the connector distributing commands, and the HTTP transport carrying
them between members of the cluster.
-
Uses of CommandErrorCode in io.axoniq.framework.springcloud.command
Methods in io.axoniq.framework.springcloud.command that return CommandErrorCodeModifier and TypeMethodDescriptionstatic CommandErrorCodeClassifies the givencause, raised while receiving or handling a command, into the code to report it under.@Nullable CommandErrorCodeCommandDispatchReply.errorCode()Returns the value of theerrorCoderecord component.static CommandErrorCodeReturns the enum constant of this class with the specified name.static CommandErrorCode[]CommandErrorCode.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in io.axoniq.framework.springcloud.command with parameters of type CommandErrorCodeModifier and TypeMethodDescriptionstatic CommandDispatchReplyCommandDispatchReply.error(String identifier, String requestIdentifier, CommandErrorCode errorCode, @Nullable String errorMessage, @Nullable String errorOrigin, List<String> errorDetails, @Nullable String errorDetailsType, @Nullable String errorDetailsPayload) Constructs aCommandDispatchReplyreporting that handling the command failed.Constructors in io.axoniq.framework.springcloud.command with parameters of type CommandErrorCodeModifierConstructorDescriptionCommandDispatchReply(String identifier, String requestIdentifier, @Nullable String type, @Nullable String payload, Map<String, @Nullable String> metadata, @Nullable CommandErrorCode errorCode, @Nullable String errorMessage, List<String> errorDetails, @Nullable String errorOrigin, @Nullable String errorDetailsType, @Nullable String errorDetailsPayload) Compact constructor requiring both identifiers, and defaultingnullmetadata and error details to empty so a reply from a member that omits either field still reads.