errors & diagnostics
compile errors (import/reload time)
when a script fails to compile like during /katton import, you get an exact location and a specific reason:
import failed: compilation failed
leap_wand:error [leap_wand.kat:7:12] function parameters cannot have types: use function name(a, b)
reading this: script name leap_wand, file leap_wand.kat, line 7, column 12. open your script, go to that exact spot, and fix it.
common compile errors and what they mean:
runtime errors (while a script is running)
these happen while a script is actually executing, a command run, an event firing, or a scheduled callback. you will get a chat message identifying the script, function, and line:
leap_wand:onLeap() [line 14] division by zero
common runtime errors: