1436635d27
Gives the constructor optional parameters for providing more information that can be used in the `toString` message, and the `stackTrace` getter. Makes the `iterable.wait` and `record.wait` extension methods provide such information, so that the `toString` will always contain the text of *one* of the errors. (No issue, problem with logging was brought up in chat.) Change-Id: I5f9a20ad0af0c64a2e7ff3cdb56f187a5cf5a3ca Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/353080 Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Lasse Nielsen <lrn@google.com> Reviewed-by: Stephen Adams <sra@google.com>