record

fun record(component: ObservedEvent.Fatal.Component, name: String, error: VirtualMachineError, partition: Int? = null)

Records error, which component's work on name (in partition, when it runs one) met: the node is fatal from now on. An error recorded already is not recorded again, and one that is not fatal (isFatal) not at all.