diff --git a/src/ludus/interpreter.clj b/src/ludus/interpreter.clj index f4b3d97..60782b5 100644 --- a/src/ludus/interpreter.clj +++ b/src/ludus/interpreter.clj @@ -17,7 +17,7 @@ (get ctx word) (if (contains? ctx ::parent) (recur word (::parent ctx)) - (throw (new Exception (str "Unbound name: " word))))))) + (throw (ex-info (str "Unbound name: " word) {})))))) (declare interpret match)