Skip to content
AEOWUN
Docs Menu

Script errors

Fix the first error, then run the script again.

Unknown name

Check spelling and scope. A function must be declared or loaded from the right Module. See Functions and Modules.

No lookup result

Check the object type before changing its name. proj.find() does not find Cells. ui.find() uses a Script key. See Finding Objects.

Invalid handle

The object may have been destroyed. Check its validity before using it again, especially after wait().

Wrong arguments

Open the exact entry in the API reference. Check the number of arguments, their types, and any required handle kind.

Execution limit

A loop must finish or pause. Replace repeated polling with an event when possible. See Control flow.

Lifecycle does not run

Lifecycle functions need a matching object attachment. For a startup message, use top-level code. See Bindings.

More useful error locations [BETA]

The v0.8.2 development series adds clearer script, line, and function information, including errors inside Module calls.

[BETA] marks features newer than the current public release. Current release: 0.8.0.