From 7fe50c9cdf379abbacf3701e976aafc819cedca9 Mon Sep 17 00:00:00 2001 From: Julien Eluard Date: Fri, 29 Mar 2019 15:12:35 +0100 Subject: [PATCH] Fixed incorrect error handling --- src/pluto/core.cljc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pluto/core.cljc b/src/pluto/core.cljc index 1d00350..5cfb06d 100644 --- a/src/pluto/core.cljc +++ b/src/pluto/core.cljc @@ -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