Files
vectorcraft/crates/engine
dotCooCoo 16d1ed57ac Scripts: the status bar shows text a script throws as it is
A failed run's status translated a script's own thrown text whenever it
matched one of the app's messages, so `throw new Error('invalid array
length')` read as the app's translated error. Run errors now say whether
their message is the script's own text: errors the interpreter or a host
function throws are marked when they are made, stay the app's own when a
script catches and rethrows them unchanged, and become the script's text
when it changes their name or message. The status bar translates the
words around such a message and shows the script's text unchanged.

- `script.run`'s failed report adds `messageOrigin` (`script` or
  `built-in`); `message`, `kind` and the console line are unchanged.
- The advice about other applications' objects follows only the app's
  own reference errors, not the same text thrown by a script.
2026-11-14 20:42:01 -08:00
..