merge_stack_trace 1.0.0

SDKdartflutter
Platformandroidioswindowslinuxmacosweb

Merge StackTrace(s)

merge_stack_trace

Usage

Change:

Error.throwWithStackTrace(
    MyCustomException('$e'),
    trace,
);

To:

Error.throwWithStackTrace(
    MyCustomException('$e'),
    mergeTrace(StackTrace.current, trace),
);