ClosedBit error docs

CB_ERR_RENDER_CALL

Render call shape error. A rendering function received invalid arguments or ran before the window was ready.

Why it happens

A rendering function received invalid arguments or ran before the window was ready.

How to fix it

Call init_window first and validate positions, sizes, colors, and font sizes.

Copy-paste fix pattern
library CB-Render

fn main() {
    init_window(960, 540, "Render")
    clear(0x071018)
    draw_rect(20, 20, 120, 60, 0x65EFE0)
    swap_buffers_fast()
}
Runtime and Studio now show this kind of page from the error dialog: plain message first, stable code second, original details third.