MichaelDrogalis / dire

Erlang-style supervisor error handling for Clojure
483 stars 19 forks source link

The dispatching of error handlers is hardcoded #1

Closed MichaelDrogalis closed 11 years ago

MichaelDrogalis commented 11 years ago

https://github.com/MichaelDrogalis/dire/blob/7ed13ecb13b864717f381d1844177af30020b91c/src/dire/core.clj#L73

It might be useful to dispatch to exceptions not only based on type, but on the result of any arbitrary function. Would love a pull request for this.