classify

Function classify 

Source
pub fn classify(op: &str, err: &str, probe: Result<(), String>) -> Fatality
Expand description

Decide whether a failed GPU operation destroyed the context.

probe is the result of a call that succeeds on any healthy context, issued after the failure. Err from that probe is the evidence — no inference is drawn from op or err, which serve only to name the cause in the message.