failCompilation (--)

Inputs

Outputs

As soon as it is reached during compilation, compilation fails unconditionally.

The reported error text is always the single generic line failCompilation. The message cannot be customized.

Behavior

Example

{} 0 {} [
  "about to stop" printCompilerMessage
  failCompilation
  0
] "main" exportFunction

Expected Output During Compilation

about to stop

Expected Compilation Error

failCompilation

See also