rejected
fun rejected(code: String, message: String = code, status: Int? = null, violations: List<Violation> = emptyList(), extensions: Map<String, Any?> = emptyMap()): PeerAnswer
The peer's aggregate rejected the command with the error code and message, answered with the status the peer's contract gives the code, or status when given; naming the fields the command broke (violations) and the rejection's structured extensions, which the caller reads from its CommandRejectedException.