cljs.spec.alpha/explain-str

functionpreviously cljs.spec/explain-str clojure.spec.alpha/explain-strEdit
(explain-str spec x)

Source docstring:
Given a spec and a value that fails to conform, returns an explanation as a string.
Source code @ clojurescript:src/main/cljs/cljs/spec/alpha.cljs
(defn explain-str
  [spec x]
  (with-out-str (explain spec x)))