Fork me on GitHub

i just started using schema with my cljs project. query: when i use schema/defn and something fails, the exception kind of looks like it was meant to be printed on a console. I.e, I get something like "Input to notebook-order-received does not match schema: ↵↵ [0;33m [nil (named (not (sequential? {})) notebooks)] [0m ↵↵" And there is a lot of structured data in the exception. Is there a better way of inspecting the error other than looking in chrome’s console and drilling down with the mouse? Specifically, I’d love to know what in the hell I actually passed to the function in addition to knowing what it was supposed to be.