Fork me on GitHub
#clojure-dev
<
2017-06-24
>
matan07:06:39

Playing around with the idea of overriding clojure's error messages with custom messages for child safety and/or text localization. Maybe scanning the clojure source for error messages creating a catalog of them at first, later automatically manipulating the source.

matan07:06:03

I know it's a lost cause because many errors boil down to Java error messages

matan07:06:49

But yet, any library that is a good fit to use for scanning clojure code at scale, short of directly rolling my own bare-handed code? I've done similar things for Scala before, so this might actually go some humble distance.

matan07:06:31

High level motivation case in point: a null pointer exception is not a good error indication for when someone places a non-fn var in call position.

alexmiller12:06:40

There is actually a university that has a project that has spent a lot of time on custom Clojure messages for beginners