Is there a way to get a stack trace to the error source via Cause?
I have a situation where a NoSuchElementException can be raised in multiple places and I want to know which failed. I know that I can map the errors and annotate them, but I want to know if there is a way to just a detailed stack trace and avoid having to manually "annotate" each error. Even when I use "Cause" via catchAllCause, the stack trace just points to Effect internals and doesn't find its way back to either operation trying to make "item" or "item2" below. Thanks in advance!
And I'm hoping to avoid having to do this to "label" each error:
And I'm hoping to avoid having to do this to "label" each error:
