pub const SCRIPT_ERROR: &str = "script_error";Expand description
A Script-kind block’s own logic failed at run time — a Rhai runtime
error (e.g. an out-of-bounds index, a missing function) surfacing
from inside the script itself. catalog add rejects a script whose
body doesn’t parse, so this is specifically a failure that only
shows up once the script actually runs; it is not a schema mismatch,
so it does not reuse SCHEMA_VALIDATION_FAILED.