Created
March 25, 2017 16:20
-
-
Save chpill/3eb137b9160ddd781ab1c3be706d5273 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(def mini-chunks-with-error | |
[[{:a 0} {:a 1} {:a 2}] | |
[{:a 0} {:a 1} {:a 2}] | |
{:error "Something terrible has happened!"}]) | |
(original mini-chunks-with-error) | |
=> {:error "Something terrible has happened!"} | |
(using-xform mini-chunks-with-error) | |
=> Unhandled java.lang.ClassCastException | |
clojure.lang.PersistentArrayMap cannot be cast to | |
clojure.lang.ITransientCollection |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment