File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 323323 (let [ed (assoc (explain-data* arg-spec [:args ]
324324 (if-let [name (spec-name arg-spec)] [name] []) [] args)
325325 ::args args)]
326- (throw (js/Error.
326+ (throw (ex-info
327327 (str
328- " Call to " (->sym v) " did not conform to spec: \n "
329- ( with-out-str ( explain-out ed))) )))))))
328+ " Call to " (->sym v) " did not conform to spec. " )
329+ ed )))))))
330330
331331; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; impl ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
332332(defn- recur-limit? [rmap id path k]
Original file line number Diff line number Diff line change 102102 (when caller
103103 {::caller caller}))]
104104 (throw (ex-info
105- (str " Call to " v " did not conform to spec: \n " ( with-out-str ( s/explain-out ed)) )
105+ (str " Call to " v " did not conform to spec. " )
106106 ed)))
107107 conformed)))]
108108 (doto (fn [& args]
You can’t perform that action at this time.
0 commit comments