Skip to main content

comb_fatal_code

Function comb_fatal_code 

Source
pub fn comb_fatal_code(site_id: u32) -> i64
Expand description

Generated combinational fatal captures use negative status codes. Positive statuses belong to loop/runtime errors; zero means success. Keep the range bounded by the event site’s u32 ID so internal failures such as a panicked lane (i64::MIN) cannot be mistaken for an assertion.