pub type ExecutionError {
ContextError(ContextError)
UnsupportedBinop(Type, String, Type)
UnsupportedUnary(String, Type)
UnexpectedType(
expected: List(Type),
got: Type,
in_context: String,
)
InvalidValueAsKey(Value)
IndexOutOfBounds(size: Int, index: Int)
UnsupportedTernaryCondition(Type)
ArithmeticError
InvalidFunctionArgs(function: String)
FunctionExpectedThis(function: String)
}
Constructors
-
ContextError(ContextError)
-
UnsupportedBinop(Type, String, Type)
-
UnsupportedUnary(String, Type)
-
UnexpectedType(
expected: List(Type),
got: Type,
in_context: String,
)
-
-
IndexOutOfBounds(size: Int, index: Int)
-
UnsupportedTernaryCondition(Type)
-
-
InvalidFunctionArgs(function: String)
-
FunctionExpectedThis(function: String)