From 7f3de28e020670d8609f40eb73ad5db61534bf5a Mon Sep 17 00:00:00 2001 From: Jaime Humberto Macias Bustamante Date: Thu, 30 Apr 2026 09:30:10 -0700 Subject: [PATCH] Update Interp.hx --- hscript/Interp.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hscript/Interp.hx b/hscript/Interp.hx index 1f078f6..f50bdf0 100644 --- a/hscript/Interp.hx +++ b/hscript/Interp.hx @@ -543,7 +543,7 @@ class Interp { #if hscriptPos errorHandler(new Error(ECustom(errStr), curExpr.pmin, curExpr.pmax, curExpr.origin, curExpr.line)); #else - errorHandler(new Error(ECustom(errStr))); + errorHandler(Error.ECustom(errStr)); #end } else { throw e;