Use ex-info everywhere

This commit is contained in:
Scott Richmond 2022-04-03 20:08:28 -04:00
parent b8e7777841
commit 69118ed4e0

View File

@ -17,7 +17,7 @@
(get ctx word) (get ctx word)
(if (contains? ctx ::parent) (if (contains? ctx ::parent)
(recur word (::parent ctx)) (recur word (::parent ctx))
(throw (new Exception (str "Unbound name: " word))))))) (throw (ex-info (str "Unbound name: " word) {}))))))
(declare interpret match) (declare interpret match)