merge_stack_trace 1.0.0 copy "merge_stack_trace: ^1.0.0" to clipboard
merge_stack_trace: ^1.0.0 copied to clipboard

Merge StackTrace(s)

merge_stack_trace #

Usage #

Change:

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

To:

Error.throwWithStackTrace(
    MyCustomException('$e'),
    mergeTrace(StackTrace.current, trace),
);
1
likes
150
points
19
downloads

Publisher

verified publishererlangparasu.dev

Weekly Downloads

Merge StackTrace(s)

Repository (GitHub)

Documentation

API reference

License

MIT (license)

More

Packages that depend on merge_stack_trace