ClosedBit error docs

CB_ERR_ASSET_IO

Asset loader failure. An asset could not be loaded, decoded, measured, copied, or packed.

Why it happens

An asset could not be loaded, decoded, measured, copied, or packed.

How to fix it

Confirm the asset exists, the extension is supported, and the path is project-relative.

Copy-paste fix pattern
library CB-AssetLoader

fn main() {
    if (CB-AssetLoader.is_supported("assets/mesh.obj")) {
        println(CB-AssetLoader.size_bytes("assets/mesh.obj"))
    }
}
Runtime and Studio now show this kind of page from the error dialog: plain message first, stable code second, original details third.