UnacceptedRejectionException
class UnacceptedRejectionException @InternalWowApi constructor(val rejected: CommandReceipt.Rejected<*>, val accepted: List<String>) : RuntimeException
A saga's @OnRejected handler did not accept rejected: its code is none of the accepted ones (CommandReceipt.Rejected.accept). The handler does not take the rejection, so the runtime answers it as a rejection no handler takes: the saga's aggregate parks at once, without a retry, its reason naming the handler, the command and the code, and a wait at the saga's hop ends REJECTED with the rejection's error.
Only accept throws it; fields may be added, so the constructor is internal to Wow.