qualified

fun qualified(rejection: Rejection, type: AggregateType, commandType: String): Rejection

rejection, decided for a command of commandType, as the kernel answers it: its code qualified with type (qualify), or FrameworkCodes.COMMAND_FAILED when a domain command chose a framework code; rejection itself when its code is full and its own.