mirror of
https://github.com/oven-sh/bun
synced 2026-02-12 20:09:04 +00:00
- Add [cause] label when printing Error.cause property to show the relationship between parent and cause errors - Print AggregateError's own message and stack trace before printing its errors array - Add [errors] label before AggregateError's errors to clearly show the aggregated errors section - Handle AggregateError's cause property properly This makes error output more similar to Node.js, where the relationship between errors is clearly labeled with [cause] and [errors] markers. Fixes #1352 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>