Concern About Missing Stack Trace in Effect Compared to Exceptions
Hi, I'm just evaluating Effect and I'm worried that it's a downgrade from exceptions because it doesn't include the stack trace of where it originated. eg:
function doSomething() { return Effect.try(() => { throw new Error("Something went wrong!"); });}function another() { return doSomething(); }const f = another();await Effect.runPromise(f);
function doSomething() { return Effect.try(() => { throw new Error("Something went wrong!"); });}function another() { return doSomething(); }const f = another();await Effect.runPromise(f);
If in the above, I had just thrown outside the Effect.try, it would print the stack trace.