Fixed incorrect error handling

This commit is contained in:
Julien Eluard
2019-03-29 15:12:35 +01:00
parent 581f8a8e09
commit 7fe50c9cdf
+1 -1
View File
@@ -42,7 +42,7 @@
(defn parse-value-with [capacities t k f]
(if (capacity? (get capacities t) k)
[(error/syntax ::error/syntax {:type ::error/overridden} {:data k})]
[(error/syntax ::error/invalid {:type ::error/overridden} {:data k})]
(f)))
(def ^:private meta-properties