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)
(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)