-
Notifications
You must be signed in to change notification settings - Fork 27
AggregateError.prototype.toString #36
Comments
I would hope it toStrings each item of the array so as to maximize usefulness in debugging, but a count of errors would be a good minimum. |
@mathiasbynens at this point, it seems that |
Error#toString and AggregateError#toString are identical except for the default name value ( |
Actually thinking about this more, I don't think there is even a need for overriding the default. AggregateError#toString should probably just be removed. |
From #33:
I think it would be useful to have it report messages from the underlying errors, though I'm not sure exactly what that ought to look like. It could at least report the number of errors it is wrapping, failing that.
cc @ljharb
The text was updated successfully, but these errors were encountered: