Add an option to Chain.capture() not to create an error zone (dart-lang/stack_trace#36)

Some users (like test) manually convert traces to chains, so they
don't need the error zone behavior. In fact, it can cause problems,
such as those described in dart-lang/testdart-lang/stack_trace#713.
5 files changed
tree: 9ddda72f38fa4671ac44431a77554c1e7d02b963
  1. pkgs/