Error formatting macro: pagetree: java.lang.NullPointerException

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.

Comparison with McGranaghan's clj-stacktrace

clj-stacktrace parses exceptions into data, and then provides some creature comforts for printing, colorizing, etc. The parsing part is a key element of the new plan as well, and I hope to adopt a significant fraction of the clj-stacktrace naming conventions and code.

Comparison with Raek's proposal

The "throwable maps" idea is very similar to what I am proposing here. The other half of Raek's proposal works to split host integration and arbitrary dispatch. I hope to avoid this split. Instead:


I don't think the performance concerns that drive the protocol/multimethod split apply to exception handling. Exception handling is exceptional, and should be able to afford (slightly) slower dispatch.

Comparison with Gilardi's


Contrib Condition

  • uses gen-class to make one Condition to rule them all
    • current plan is to do something similar to this
  • uses dynamic binding to keep track of current error
    • plan is to unify more closely with JVM exceptions instead
  • uses case construct for selecting handlers
    • hope to provide a more general mechanism for communicating between top/middle/bottom
    • should be able to write condition in terms of the new thing, if desired
  • implementation note: uses atom for one-time init
    • now we can use promises for this instead

Comparison with Chouser's


Contrib Error-



error-kit does not try to unify with host exceptions. This gives it the freedom to do several things: