Class BytecodeCompiler.ContentError

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.cloudburstmc.mojava.compiler.BytecodeCompiler.ContentError
All Implemented Interfaces:
Serializable
Enclosing class:
BytecodeCompiler

public static final class BytecodeCompiler.ContentError extends RuntimeException
Thrown at compile time for an expression that violates Molang's type rules in a way detectable from the source alone — currently, a string literal used anywhere except ==/!=. Mirrors the engine's "content error" for cases like 'text' + 1.
See Also: