hyperthunk/distributed-process-platform — pull request #20 by rodlogic (2012-12-09 17:09:33+00:00)
Title: Now calling terminateHandler on exceptions & implementation cleanup

I have cleaned up the implementation and API a bit by getting rid of the CallResult and CastResult: now there is a single Result and a single set of smart constructors: ok, stop, forward.

I have also added preliminary support for calling terminateHandler in the event of an exception. This is not using catchExit at this point as it deserves a second round of discussions. The most important thing for now is that calling ```exit pid reason``` will terminate the server and will call the terminateHandler. So, at least a small step forward.