ClosedBit error docs

CB_ERR_FILE_NOT_FOUND

File not found. A source, model, save, key, asset, or library file was missing.

Why it happens

A source, model, save, key, asset, or library file was missing.

How to fix it

Use a project-relative path and make sure the file is included in the input directory.

Copy-paste fix pattern
library CB-AssetLoader

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