imports and better error reporting and stacktraces

This commit is contained in:
gnembon committed 2020-01-05 02:24:48 -04:00
1 parent 15fe9c5ad9
commit 1650f3233b
15 files changed
+351 -245

No files matched your search

@@ -1,8 +1,14 @@
package carpet.script.exception;
import carpet.script.value.FunctionValue;
import java.util.ArrayList;
import java.util.List;
/* The internal expression evaluators exception class. */
public class InternalExpressionException extends ExpressionException
public class InternalExpressionException extends RuntimeException
{
public List<FunctionValue> stack = new ArrayList<>();
public InternalExpressionException(String message)
{
super(message);