Rich pointed out that this is telling you the predicate 
:my.domain/event-type and the value it received: {:event/type 
:event/restart} which seems to be telling you everything you need to know 
wrt to the missing method. 

The dispatch method is opaque (even though it is simple here), so doesn't 
make sense to generically add anything additional to this message.

On Tuesday, May 24, 2016 at 10:53:43 PM UTC-5, Ambrose Bonnaire-Sergeant 
wrote:
>
> Thanks for the guide Alex.
>
> Is it possible to get more information in the "no method" error returned by
> multi-spec?
>
> (s/explain :event/event {:event/type :event/restart})
> ;; val: {:event/type :event/restart} fails predicate: 
> my.domain/event-type, no method
>
> It would be nice to mention exactly which method is missing here (ie. 
> :event/restart).
>
> Thanks,
> Ambrose
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to