SwensenSoftware/unquote

Distinguish between exception instances and exceptions that are actually raised during reduction

GoogleCodeExporter opened this issue · 2 comments

We will introduce a ReductionException type which will wrap exceptions that are 
raised during reduction (i.e. reduceFully, uquote, text, raises, and raisesWith 
operators and extension methods). This will allow us to e.g. improve 
decompilation so that values of non-raised exceptions aren't printed with 
verbose stacktrace information. Note that this will be a slight breaking change 
in that the last expression returned from reduceAll will contain the 
ReductionException instead of the actual exception if one is thrown (use 
ReductionException.InnerException to get at the actual Exception).

Original issue reported on code.google.com by stephen....@gmail.com on 24 Mar 2015 at 2:34

Original comment by stephen....@gmail.com on 12 Apr 2015 at 5:57

  • Changed state: Fixed

Original comment by stephen....@gmail.com on 17 May 2015 at 6:10

  • Added labels: Milestone-Release3.0.0