malli

rafalw 2025-10-26T16:03:06.613529Z

Hi, how to use output of the .pretty/explain as an message for exception thrown 'by hand' ?

2025-10-26T21:53:00.191319Z

(throw (ex-info (with-out-str (pretty/explain ..)) {}))

2025-10-26T21:54:25.363639Z

looks like there's a helper called .pretty/thrower for this purpose.