Fixed incorrect error handling

This commit is contained in:
Julien Eluard 2019-03-29 15:12:35 +01:00
parent 581f8a8e09
commit 7fe50c9cdf
No known key found for this signature in database
GPG Key ID: 6FD7DB5437FCBEF6
1 changed files with 1 additions and 1 deletions

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