Rejected
The command was refused with error. version is the version of ref the rejection answered: the version its events reached when it was committed with events, else the one the decision saw; null when the command was refused before any decision, a creation's. A rejection is a business outcome: the runtime hands it to the saga instead of parking the aggregate, whether the command was rejected in the saga's own context or in another, whose receipt comes back, and whether the saga derived it or called it (SagaContext.call) and let the rejection through.
Constructors
Functions
Accepts this rejection when its code is code or one of others: the handler returns and derives nothing, and the runtime logs that it accepted it. Any other code is a rejection the handler did not expect, which it does not take (UnacceptedRejectionException): the saga's aggregate parks at once, without a retry, as for a rejection no handler takes, its reason naming the code, and a wait at the saga's hop ends REJECTED.
This Rejected with the given fields replaced: Wow's own copy, left out of the ABI.