Re: Concept: Lightweight error channels
> 3) Implement a new LightException (or similar name) with no args in
getTrace().
+ or 4) Deferred backtrace mechanism:
1. Does not compute the backtrace when the exception is created.
2. The backtrace is fully computed only if the exception is caught using a
catch block or by a global handler when reaching the bottom of the stack.
3. The backtrace may not be computed at all if the exception is caught for
suppression (possibly requiring separate syntax).
There is a technical problem here.
When a user saves an exception object somewhere and later tries to retrieve
the trace.
If a solution to this can be found, then no changes would be needed on the
UserLand side at all. ...
>
Thread (34 messages)