View source
class CallStackHandler
package haxe.coro.context
implements IElement<CallStackHandler>
Available on all platforms
A context element that builds the call stacks of exceptions thrown in coroutines.
Static variables
Methods
buildCallStack(context:Context, frame:IStackFrame):Void
Called as an exception propagates up the coroutine continuation chain, to insert each continuation frame's stack item into the exception stack.
startException(context:Context, frame:IStackFrame, exception:Exception):Exception
Called when an exception is first encountered in a coroutine to process its stack trace. Returns the (potentially modified) exception.