Skip to main content

Module failure

Module failure 

Source
Expand description

Why running an app’s code can fail. The interpreter and compiled apps both report these, so an app fails the same way however it runs.

Enums§

Failure

Constants§

MAX_CALL_DEPTH
How deeply functions may call each other before the app stops with an error. The interpreter takes roughly 10 KB of native stack per call in debug builds, so this stops runaway recursion well before a 2 MB thread stack overflows.