juxt / bidi

Bidirectional URI routing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Show more data in ex-info

danielcompton opened this issue · comments

It could be helpful to show more data in the ex-info when throwing an exception. e.g. when doing the example in the README:

(path-for my-routes :article)
;clojure.lang.ExceptionInfo: Cannot form URI without a value given for :id parameter
(ex-data *e)
=> {}

It could be good to include the handler that was desired here? I suspect there are similar pieces of information that many of the other ex-info's could use.