failed

fun failed(code: String, message: String = code, ref: AggregateRef = required()): CommandResult

The result of the call when its target failed it for a technical reason code, on ref.