ClosedBit error docs

CB_ERR_FILE_IO

File input/output failure. A file could not be read, written, copied, or decoded.

Why it happens

A file could not be read, written, copied, or decoded.

How to fix it

Check permissions, locks, path spelling, and whether the file is inside the project.

Copy-paste fix pattern
library CB-Storage

fn main() {
    CB-Storage.write_text("notes.cb", "saved")
    println(CB-Storage.read_text_or("notes.cb", ""))
}
Runtime and Studio now show this kind of page from the error dialog: plain message first, stable code second, original details third.