reject
Refuses the command with the rejection code and message, as returning Decision.reject(code, message) does: it throws a RejectedException, which the kernel answers as that rejection. message is shown to the caller. The same as the top-level reject(code, message), which a decide function without a scope calls.
open fun reject(code: String, message: String, events: List<Any> = emptyList(), extensions: Map<String, Any?> = emptyMap()): Nothing
Refuses the command with the rejection code, message and structured extensions, appending events with it; see the top-level reject.