mirror of https://github.com/status-im/pluto.git
Fixed incorrect error handling
This commit is contained in:
parent
581f8a8e09
commit
7fe50c9cdf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue