ClosedBit error docs

CB_ERR_DIVIDE_BY_ZERO

Division by zero. A division or modulo operation used zero as the divisor.

Why it happens

A division or modulo operation used zero as the divisor.

How to fix it

Guard the divisor or use a fallback helper before dividing.

Copy-paste fix pattern
library CB-Math

fn main() {
    f64 result = CB-Math.divide_or(total, count, 0)
    println(result)
}
Runtime and Studio now show this kind of page from the error dialog: plain message first, stable code second, original details third.