CommandRejectedException

The command was rejected (CommandResult.Status.REJECTED): by its aggregate, a business outcome with the domain's code, or at admission (an unknown command, a malformed or invalid one, a forbidden caller), with the fields it broke (violations). Sending it again with the same request id is rejected again.

Constructors

Link copied to clipboard
constructor(result: CommandResult)

Properties

Link copied to clipboard

The rejection's error code.

Link copied to clipboard

Why the command was rejected: the result's error, which a rejected result always has.

Link copied to clipboard
Link copied to clipboard

The fields the command broke, each with its path, code and message: its error's, none when it names none.